public class GlobalStateConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<ConfigurationStorage> |
CONFIGURATION_STORAGE |
static AttributeDefinition<Supplier<? extends LocalConfigurationStorage>> |
CONFIGURATION_STORAGE_SUPPLIER |
static AttributeDefinition<Boolean> |
ENABLED |
static AttributeDefinition<String> |
PERSISTENT_LOCATION |
static AttributeDefinition<String> |
SHARED_PERSISTENT_LOCATION |
static AttributeDefinition<String> |
TEMPORARY_LOCATION |
Constructor and Description |
---|
GlobalStateConfiguration(AttributeSet attributes) |
Modifier and Type | Method and Description |
---|---|
static AttributeSet |
attributeDefinitionSet() |
AttributeSet |
attributes() |
ConfigurationStorage |
configurationStorage() |
Supplier<? extends LocalConfigurationStorage> |
configurationStorageClass()
Returns the
LocalConfigurationStorage Supplier |
boolean |
enabled() |
String |
persistentLocation()
Returns the filesystem path where persistent state data which needs to survive container
restarts should be stored.
|
String |
sharedPersistentLocation()
Returns the filesystem path where shared persistent state data which needs to survive container
restarts should be stored.
|
String |
temporaryLocation()
Returns the filesystem path where temporary state should be stored.
|
String |
toString() |
public static final AttributeDefinition<Boolean> ENABLED
public static final AttributeDefinition<String> PERSISTENT_LOCATION
public static final AttributeDefinition<String> SHARED_PERSISTENT_LOCATION
public static final AttributeDefinition<String> TEMPORARY_LOCATION
public static final AttributeDefinition<ConfigurationStorage> CONFIGURATION_STORAGE
public static final AttributeDefinition<Supplier<? extends LocalConfigurationStorage>> CONFIGURATION_STORAGE_SUPPLIER
public GlobalStateConfiguration(AttributeSet attributes)
public static AttributeSet attributeDefinitionSet()
public boolean enabled()
public String persistentLocation()
public String sharedPersistentLocation()
public String temporaryLocation()
public ConfigurationStorage configurationStorage()
public Supplier<? extends LocalConfigurationStorage> configurationStorageClass()
LocalConfigurationStorage
Supplier
public AttributeSet attributes()
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.