Package berlin.yuna.natsserver.config
Enum NatsConfig
- java.lang.Object
-
- java.lang.Enum<NatsConfig>
-
- berlin.yuna.natsserver.config.NatsConfig
-
- All Implemented Interfaces:
Serializable,Comparable<NatsConfig>
public enum NatsConfig extends Enum<NatsConfig>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRAUTHCLIENT_ADVERTISECLUSTERCLUSTER_ADVERTISECLUSTER_NAMECONFIGCONNECT_RETRIESDEBUGHTTP_PORTHTTPS_PORTJETSTREAMLOGLOGTIMENAMENO_ADVERTISEPASSPIDPORTREMOTE_SYSLOGROUTESSIGNALSTORE_DIRSYSLOGTLSTLSCACERTTLSCERTTLSKEYTLSVERIFYTRACEUSER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDefaultValue()StringgetDescription()StringgetKey()Command line property keystatic NatsConfigvalueOf(String name)Returns the enum constant of this type with the specified name.static NatsConfig[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final NatsConfig NAME
-
SIGNAL
public static final NatsConfig SIGNAL
-
PID
public static final NatsConfig PID
-
CLIENT_ADVERTISE
public static final NatsConfig CLIENT_ADVERTISE
-
CLUSTER_NAME
public static final NatsConfig CLUSTER_NAME
-
NO_ADVERTISE
public static final NatsConfig NO_ADVERTISE
-
CLUSTER_ADVERTISE
public static final NatsConfig CLUSTER_ADVERTISE
-
CONNECT_RETRIES
public static final NatsConfig CONNECT_RETRIES
-
ADDR
public static final NatsConfig ADDR
-
PORT
public static final NatsConfig PORT
-
HTTP_PORT
public static final NatsConfig HTTP_PORT
-
HTTPS_PORT
public static final NatsConfig HTTPS_PORT
-
CONFIG
public static final NatsConfig CONFIG
-
LOG
public static final NatsConfig LOG
-
TRACE
public static final NatsConfig TRACE
-
DEBUG
public static final NatsConfig DEBUG
-
SYSLOG
public static final NatsConfig SYSLOG
-
LOGTIME
public static final NatsConfig LOGTIME
-
REMOTE_SYSLOG
public static final NatsConfig REMOTE_SYSLOG
-
JETSTREAM
public static final NatsConfig JETSTREAM
-
STORE_DIR
public static final NatsConfig STORE_DIR
-
USER
public static final NatsConfig USER
-
PASS
public static final NatsConfig PASS
-
AUTH
public static final NatsConfig AUTH
-
TLS
public static final NatsConfig TLS
-
TLSCERT
public static final NatsConfig TLSCERT
-
TLSKEY
public static final NatsConfig TLSKEY
-
TLSCACERT
public static final NatsConfig TLSCACERT
-
TLSVERIFY
public static final NatsConfig TLSVERIFY
-
ROUTES
public static final NatsConfig ROUTES
-
CLUSTER
public static final NatsConfig CLUSTER
-
-
Method Detail
-
values
public static NatsConfig[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NatsConfig c : NatsConfig.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NatsConfig valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDefaultValue
public Object getDefaultValue()
-
getDescription
public String getDescription()
-
getKey
public String getKey()
Command line property key- Returns:
- key for command line
-
-