This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extra cleanup of related constants and enum values no longer needed
- Loading branch information
Showing
2 changed files
with
38 additions
and
43 deletions.
There are no files selected for viewing
80 changes: 38 additions & 42 deletions
80
src/main/java/org/opendatakit/aggregate/constants/common/PreferencesConsts.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,38 @@ | ||
/* | ||
* Copyright (C) 2011 University of Washington | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy of | ||
* the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
|
||
package org.opendatakit.aggregate.constants.common; | ||
|
||
|
||
public enum PreferencesConsts implements HelpSliderConsts { | ||
GOOGLE("Google API Credentials", "These credentials are used when publishing into Google services."), | ||
ENKETO("Enketo Credentials", "These credentials are used for Enketo webforms integration."), | ||
FEATURES("Aggregate Features", | ||
"These settings affect the operations of the server.<br>" + | ||
"1. Disable faster background actions - check this to reduce AppEngine quota usage"); | ||
|
||
private String title; | ||
private String content; | ||
|
||
private PreferencesConsts(String titleString, String contentString) { | ||
title = titleString; | ||
content = contentString; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
|
||
public String getContent() { | ||
return content; | ||
} | ||
} | ||
/* | ||
* Copyright (C) 2011 University of Washington | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy of | ||
* the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
|
||
package org.opendatakit.aggregate.constants.common; | ||
|
||
|
||
public enum PreferencesConsts implements HelpSliderConsts { | ||
GOOGLE("Google API Credentials", "These credentials are used when publishing into Google services."), | ||
ENKETO("Enketo Credentials", "These credentials are used for Enketo webforms integration."); | ||
private String title; | ||
private String content; | ||
|
||
private PreferencesConsts(String titleString, String contentString) { | ||
title = titleString; | ||
content = contentString; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
|
||
public String getContent() { | ||
return content; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters