public class States
extends java.lang.Object
Constructor and Description |
---|
States() |
Modifier and Type | Method and Description |
---|---|
static MutableStateObj |
mutable() |
static MutableStateObj |
mutable(java.util.Map<java.lang.String,java.lang.String> context) |
static MutableStateObj |
mutable(StateObj context) |
static MutableStateObj |
mutable(java.lang.String key,
java.lang.String val) |
static StateObj |
state(java.util.Map<java.lang.String,java.lang.String> context) |
static StateObj |
state(StateObj... states)
merge multiple state objects in order
|
static StateObj |
state(StateObj context) |
static StateObj |
state(java.lang.String key,
java.lang.String val) |
public static MutableStateObj mutable()
public static MutableStateObj mutable(StateObj context)
public static StateObj state(StateObj... states)
states
- statespublic static StateObj state(java.util.Map<java.lang.String,java.lang.String> context)
public static StateObj state(java.lang.String key, java.lang.String val)
public static MutableStateObj mutable(java.util.Map<java.lang.String,java.lang.String> context)
public static MutableStateObj mutable(java.lang.String key, java.lang.String val)