public class SCXMLSystemContext extends Object implements Context, Serializable
getContext()
.Modifier and Type | Field and Description |
---|---|
static String |
EVENT_KEY
The protected system variables names as defined in the SCXML specification
|
static String |
IOPROCESSORS_KEY |
static String |
SCXML_NAME_KEY |
static String |
SESSIONID_KEY |
static String |
STATUS_KEY
The Commons SCXML internal
platform variable key holding the current SCXML
status instance |
static String |
X_KEY |
NAMESPACES_KEY
Constructor and Description |
---|
SCXMLSystemContext(Context systemContext) |
Modifier and Type | Method and Description |
---|---|
String |
generateSessionId() |
Object |
get(String name)
Get the value of this variable; delegating to parent.
|
Context |
getParent()
Get the parent Context, may be null.
|
Map<String,Object> |
getPlatformVariables() |
SCXMLSystemContext |
getSystemContext()
Get the SCXMLSystemContext for this Context, should not be null unless this is the root Context
|
Map<String,Object> |
getVars()
Get the Map of all variables in this Context.
|
boolean |
has(String name)
Check if this variable exists, delegating to parent.
|
boolean |
hasLocal(String name)
Check if this variable exists, only checking this Context
|
void |
reset()
Clear this Context.
|
void |
set(String name,
Object value)
Assigns a new value to an existing variable or creates a new one.
|
void |
setLocal(String name,
Object value)
Assigns a new value to an existing variable or creates a new one.
|
public static final String EVENT_KEY
public static final String SESSIONID_KEY
public static final String SCXML_NAME_KEY
public static final String IOPROCESSORS_KEY
public static final String X_KEY
public static final String STATUS_KEY
platform variable key
holding the current SCXML
status instancepublic SCXMLSystemContext(Context systemContext)
public String generateSessionId()
public void set(String name, Object value)
Context
public void setLocal(String name, Object value)
Context
public Object get(String name)
Context
public boolean has(String name)
Context
public boolean hasLocal(String name)
Context
public Map<String,Object> getVars()
Context
getVars
in interface Context
Context.getParent()
public Context getParent()
Context
public SCXMLSystemContext getSystemContext()
Context
getSystemContext
in interface Context
public Map<String,Object> getPlatformVariables()
_x
root system variableCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.