public interface ScopedPersistentState
Modifier and Type | Field and Description |
---|---|
static String |
GLOBAL_SCOPE |
Modifier and Type | Method and Description |
---|---|
void |
forEach(BiConsumer<String,String> action)
Performs the specified action on every entry of the state
|
float |
getFloatProperty(String key)
Retrieves a float state property
|
int |
getIntProperty(String key)
Retrieves an integer state property
|
String |
getProperty(String key)
Retrieves a state property
|
String |
getScope()
Returns the name of this persistent state's scope
|
void |
setProperty(String format,
float f)
Sets a float state property.
|
void |
setProperty(String key,
int value)
Sets an integer state property.
|
void |
setProperty(String key,
String value)
Sets a state property.
|
static final String GLOBAL_SCOPE
String getScope()
void setProperty(String key, String value)
void setProperty(String key, int value)
void setProperty(String format, float f)
int getIntProperty(String key)
float getFloatProperty(String key)
void forEach(BiConsumer<String,String> action)
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.