Package com._1c.g5.aef2.scenes
Class State
- java.lang.Object
-
- com._1c.g5.aef2.scenes.State
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IState
create(IState oldState, String name, Object value)
Creates a new state instance.static IState
create(String name, Object value)
Creates a new state instance.static IState
create(Map<String,Object> stateMap)
Creates a new state instance.Object
getValue(String name)
Returns the value of the state by the specifiedname
.String
toString()
-
-
-
Method Detail
-
create
public static IState create(IState oldState, String name, Object value)
Creates a new state instance.- Parameters:
oldState
- the old state, can benull
.name
- the name, cannot benull
.value
- the value, cannot benull
.- Returns:
- the newly created state, never
null
.
-
create
public static IState create(String name, Object value)
Creates a new state instance.- Parameters:
name
- the name, cannot benull
.value
- the value, cannot benull
.- Returns:
- the newly created state, never
null
.
-
create
public static IState create(Map<String,Object> stateMap)
Creates a new state instance.- Parameters:
stateMap
- the state map, cannot benull
.- Returns:
- the newly created state, never
null
.
-
getValue
public Object getValue(String name)
Description copied from interface:IState
Returns the value of the state by the specifiedname
.
-
-