Enum SynchronyEnv
- java.lang.Object
-
- java.lang.Enum<SynchronyEnv>
-
- com.atlassian.confluence.plugins.synchrony.api.SynchronyEnv
-
- All Implemented Interfaces:
Serializable
,Comparable<SynchronyEnv>
public enum SynchronyEnv extends Enum<SynchronyEnv>
Represents each possible Synchrony environmental variable, and optionally a default value.- Since:
- 6.0
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Properties
getDefaultProperties()
Get the default propertiesString
getDefaultValue()
String
getEnvName()
static SynchronyEnv
valueOf(String name)
Returns the enum constant of this type with the specified name.static SynchronyEnv[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Host
public static final SynchronyEnv Host
-
JdbcUrl
public static final SynchronyEnv JdbcUrl
-
JdbcUser
public static final SynchronyEnv JdbcUser
-
JdbcPassword
public static final SynchronyEnv JdbcPassword
-
JwtPublicKey
public static final SynchronyEnv JwtPublicKey
-
JwtPrivateKey
public static final SynchronyEnv JwtPrivateKey
-
ServiceUrl
public static final SynchronyEnv ServiceUrl
-
Port
public static final SynchronyEnv Port
-
AlephPort
public static final SynchronyEnv AlephPort
-
AlephBind
public static final SynchronyEnv AlephBind
-
ContextPath
public static final SynchronyEnv ContextPath
-
HazelcastGroupName
public static final SynchronyEnv HazelcastGroupName
-
HazelcastPort
public static final SynchronyEnv HazelcastPort
-
HazelcastInterfaces
public static final SynchronyEnv HazelcastInterfaces
-
ClusterAuthenticationSecret
public static final SynchronyEnv ClusterAuthenticationSecret
-
ClusterAuthenticationEnabled
public static final SynchronyEnv ClusterAuthenticationEnabled
-
ClusterImpl
public static final SynchronyEnv ClusterImpl
-
ClusterJoinType
public static final SynchronyEnv ClusterJoinType
-
ClusterJoinMulticastGroup
public static final SynchronyEnv ClusterJoinMulticastGroup
-
ClusterJoinMulticastPort
public static final SynchronyEnv ClusterJoinMulticastPort
-
ClusterJoinTCPIPMembers
public static final SynchronyEnv ClusterJoinTCPIPMembers
-
ClusterJoinAwsAccess
public static final SynchronyEnv ClusterJoinAwsAccess
-
ClusterJoinAwsSecret
public static final SynchronyEnv ClusterJoinAwsSecret
-
ClusterJoinAwsRegion
public static final SynchronyEnv ClusterJoinAwsRegion
-
ClusterJoinAwsGroup
public static final SynchronyEnv ClusterJoinAwsGroup
-
ClusterJoinAwsTagKey
public static final SynchronyEnv ClusterJoinAwsTagKey
-
ClusterJoinAwsTagValue
public static final SynchronyEnv ClusterJoinAwsTagValue
-
ClusterJoinAwsHeader
public static final SynchronyEnv ClusterJoinAwsHeader
-
ClusterJoinAwsIam
public static final SynchronyEnv ClusterJoinAwsIam
-
DefaultLogging
public static final SynchronyEnv DefaultLogging
-
Memory
public static final SynchronyEnv Memory
-
StackSpace
public static final SynchronyEnv StackSpace
-
WatchPid
public static final SynchronyEnv WatchPid
-
ExtractDirectory
public static final SynchronyEnv ExtractDirectory
-
WorkingDirectory
public static final SynchronyEnv WorkingDirectory
-
-
Method Detail
-
values
public static SynchronyEnv[] 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 (SynchronyEnv c : SynchronyEnv.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SynchronyEnv 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
-
getEnvName
public String getEnvName()
-
getDefaultValue
public String getDefaultValue()
-
getDefaultProperties
public static Properties getDefaultProperties()
Get the default properties- Returns:
- the defaultProperties object (created with data from the properties file if it does not exist)
-
-