public class ScopedPersistentStateImpl extends Object implements ScopedPersistentState
GLOBAL_SCOPE| Constructor and Description |
|---|
ScopedPersistentStateImpl(String scope) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperty(String key)
Returns whether the state contains a property
|
boolean |
equals(Object o) |
void |
forEach(BiConsumer<String,String> action)
Performs the specified action on every entry of the state
|
int |
getChecksum()
Returns the checksum of the properties excluding those prefixed with @
|
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
|
int |
hashCode() |
void |
setProperty(String key,
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.
|
public ScopedPersistentStateImpl(String scope)
public String getScope()
ScopedPersistentStategetScope in interface ScopedPersistentStatepublic void setProperty(String key, String value)
ScopedPersistentStatesetProperty in interface ScopedPersistentStatepublic void setProperty(String key, int value)
ScopedPersistentStatesetProperty in interface ScopedPersistentStatepublic int getIntProperty(String key)
ScopedPersistentStategetIntProperty in interface ScopedPersistentStatepublic void setProperty(String key, float f)
ScopedPersistentStatesetProperty in interface ScopedPersistentStatepublic float getFloatProperty(String key)
ScopedPersistentStategetFloatProperty in interface ScopedPersistentStatepublic String getProperty(String key)
ScopedPersistentStategetProperty in interface ScopedPersistentStatepublic void forEach(BiConsumer<String,String> action)
ScopedPersistentStateforEach in interface ScopedPersistentStatepublic int getChecksum()
ScopedPersistentStategetChecksum in interface ScopedPersistentStatepublic boolean containsProperty(String key)
ScopedPersistentStatecontainsProperty in interface ScopedPersistentStateCopyright © 2022 JBoss by Red Hat. All rights reserved.