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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
desc()
String
key()
Command line property keyString
value()
static NatsConfig
valueOf(String name)
Returns the enum constant of this type with the specified name.Object
valueRaw()
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
-
NATS_SYSTEM
public static final NatsConfig NATS_SYSTEM
-
NATS_LOG_NAME
public static final NatsConfig NATS_LOG_NAME
-
NATS_VERSION
public static final NatsConfig NATS_VERSION
-
NATS_DOWNLOAD_URL
public static final NatsConfig NATS_DOWNLOAD_URL
-
NATS_BINARY_PATH
public static final NatsConfig NATS_BINARY_PATH
-
NATS_CONFIG_FILE
public static final NatsConfig NATS_CONFIG_FILE
-
NATS_ARGS
public static final NatsConfig NATS_ARGS
-
-
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
-
valueRaw
public Object valueRaw()
-
desc
public String desc()
-
value
public String value()
- Returns:
- value as string
-
key
public String key()
Command line property key- Returns:
- key for command line
-
-