public class BrooklynServerConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ConfigKey<java.lang.String> |
BROOKLYN_CATALOG_URL |
static ConfigKey<java.lang.String> |
BROOKLYN_DATA_DIR
Deprecated.
|
static java.lang.String |
MANAGEMENT_NODE_ID_PROPERTY
string used in places where the management node ID is needed to resolve a path
|
static ConfigKey<Duration> |
MANAGEMENT_NODE_STATE_LISTENER_TERMINATION_TIMEOUT |
static ConfigKey<java.util.List<ManagementNodeStateListener>> |
MANAGEMENT_NODE_STATE_LISTENERS |
static ConfigKey<java.lang.String> |
MGMT_BASE_DIR
Provided for setting; consumers should use
getMgmtBaseDir(ManagementContext) |
static ConfigKey<java.lang.Boolean> |
OSGI_CACHE_CLEAN |
static ConfigKey<java.lang.String> |
OSGI_CACHE_DIR |
static ConfigKey<java.lang.String> |
PERSIST_MANAGED_BUNDLE_BLACKLIST_REGEX |
static ConfigKey<java.lang.String> |
PERSIST_MANAGED_BUNDLE_WHITELIST_REGEX |
static ConfigKey<java.lang.String> |
PERSISTENCE_BACKUPS_DIR |
static ConfigKey<java.lang.String> |
PERSISTENCE_BACKUPS_LOCATION_SPEC |
static ConfigKey<java.lang.Boolean> |
PERSISTENCE_BACKUPS_REQUIRED
Deprecated.
since 0.7.0, use
#PERSISTENCE_BACKUPS_ON_PROMOTION and #PERSISTENCE_BACKUPS_ON_DEMOTION ,
which allow using a different target location and are supported on more environments (and now default to true) |
static ConfigKey<java.lang.Boolean> |
PERSISTENCE_BACKUPS_REQUIRED_ON_DEMOTION |
static ConfigKey<java.lang.Boolean> |
PERSISTENCE_BACKUPS_REQUIRED_ON_PROMOTION |
static ConfigKey<java.lang.String> |
PERSISTENCE_DIR
Provided for setting; consumers should query the management context persistence subsystem
for the actual target, or use
BrooklynServerPaths.newMainPersistencePathResolver(ManagementContext)
if trying to resolve the value |
static ConfigKey<java.lang.String> |
PERSISTENCE_LOCATION_SPEC |
static ConfigKey<java.lang.Boolean> |
USE_OSGI |
Constructor and Description |
---|
BrooklynServerConfig() |
Modifier and Type | Method and Description |
---|---|
static Maybe<java.net.URI> |
getBrooklynWebUri(ManagementContext mgmt) |
static java.lang.String |
getMgmtBaseDir(ManagementContext mgmt) |
static java.lang.String |
getMgmtBaseDir(java.util.Map<java.lang.String,?> brooklynProperties) |
static java.lang.String |
getMgmtBaseDir(StringConfigMap brooklynProperties) |
public static final ConfigKey<java.lang.String> MGMT_BASE_DIR
getMgmtBaseDir(ManagementContext)
@Deprecated public static final ConfigKey<java.lang.String> BROOKLYN_DATA_DIR
public static final ConfigKey<java.lang.String> PERSISTENCE_DIR
BrooklynServerPaths.newMainPersistencePathResolver(ManagementContext)
if trying to resolve the valuepublic static final ConfigKey<java.lang.String> PERSISTENCE_LOCATION_SPEC
public static final ConfigKey<java.lang.String> PERSISTENCE_BACKUPS_DIR
public static final ConfigKey<java.lang.String> PERSISTENCE_BACKUPS_LOCATION_SPEC
public static final ConfigKey<java.lang.Boolean> PERSISTENCE_BACKUPS_REQUIRED_ON_PROMOTION
public static final ConfigKey<java.lang.Boolean> PERSISTENCE_BACKUPS_REQUIRED_ON_DEMOTION
@Deprecated public static final ConfigKey<java.lang.Boolean> PERSISTENCE_BACKUPS_REQUIRED
#PERSISTENCE_BACKUPS_ON_PROMOTION
and #PERSISTENCE_BACKUPS_ON_DEMOTION
,
which allow using a different target location and are supported on more environments (and now default to true)public static final ConfigKey<java.util.List<ManagementNodeStateListener>> MANAGEMENT_NODE_STATE_LISTENERS
public static final ConfigKey<Duration> MANAGEMENT_NODE_STATE_LISTENER_TERMINATION_TIMEOUT
public static final ConfigKey<java.lang.String> BROOKLYN_CATALOG_URL
public static final java.lang.String MANAGEMENT_NODE_ID_PROPERTY
public static final ConfigKey<java.lang.Boolean> USE_OSGI
public static final ConfigKey<java.lang.String> OSGI_CACHE_DIR
public static final ConfigKey<java.lang.Boolean> OSGI_CACHE_CLEAN
public static final ConfigKey<java.lang.String> PERSIST_MANAGED_BUNDLE_WHITELIST_REGEX
public static final ConfigKey<java.lang.String> PERSIST_MANAGED_BUNDLE_BLACKLIST_REGEX
public static java.lang.String getMgmtBaseDir(ManagementContext mgmt)
public static java.lang.String getMgmtBaseDir(StringConfigMap brooklynProperties)
public static java.lang.String getMgmtBaseDir(java.util.Map<java.lang.String,?> brooklynProperties)
public static Maybe<java.net.URI> getBrooklynWebUri(ManagementContext mgmt)
ManagementContext.getManagementNodeUri()
, located in this utility class for convenience.