Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package io.ultreia.gc.lfn;
/*-
* #%L
* GC toolkit :: LFN
* %%
* Copyright (C) 2017 Ultreia.io
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* .
* #L%
*/
import javax.annotation.Generated;
import org.nuiton.config.ConfigOptionDef;
@Generated(value = "org.nuiton.config.plugin.templates.ApplicationConfigTransformer", date = "Wed Apr 19 12:29:47 UTC 2017")
public enum GcLfnConfigOption implements ConfigOptionDef {
CONFIG_FILE(
java.lang.String.class,
"config.file",
"Configuration filename",
"gc.conf",
true,
false),
BUILD_DATE(
java.lang.String.class,
"gc.build.date",
"Build date",
null,
true,
false),
BUILD_NUMBER(
java.lang.String.class,
"gc.build.number",
"Build Number",
null,
true,
false),
BUILD_VERSION(
org.nuiton.version.Version.class,
"gc.build.version",
"Build Version",
null,
true,
false),
LOGIN(
java.lang.String.class,
"gc.auth.login",
"Geocaching.com login",
null,
false,
false),
PASSWORD(
java.lang.String.class,
"gc.auth.password",
"Geocaching.com password",
null,
false,
false),
AUTO_LOGIN(
boolean.class,
"gc.auth.autoLogIn",
"Auto login at start up",
"false",
false,
false),
AUTO_VIST_TRACKABLES(
boolean.class,
"gc.lfn.autoVistTrackables",
"Auto visit trackables",
"true",
false,
false),
LOG_FILE(
java.io.File.class,
"gc.lfn.logFile",
"Path to log file",
"/tmp/lfn.txt",
false,
false);
private final Class type;
private final String key;
private final String description;
private String defaultValue;
private boolean _transient;
private boolean _final;
GcLfnConfigOption(Class type, String key, String description, String defaultValue, boolean _transient, boolean _final) {
this.type = type;
this.key = key;
this.description = description;
this.defaultValue = defaultValue;
this._final = _final;
this._transient = _transient;
}
@Override
public String getKey() {
return key;
}
@Override
public Class getType() {
return type;
}
@Override
public String getDescription() {
return description;
}
@Override
public String getDefaultValue() {
return defaultValue;
}
@Override
public void setDefaultValue(String defaultValue) {
this.defaultValue = defaultValue;
}
@Override
public boolean isTransient() {
return _transient;
}
@Override
public void setTransient(boolean _transient) {
this._transient = _transient;
}
@Override
public boolean isFinal() {
return _final;
}
@Override
public void setFinal(boolean _final) {
this._final = _final;
}
} //GcLfnConfigOption