|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.dialog.scxml.config.DialogMetadata
public class DialogMetadata
Bean encapsulating metadata for a Shale dialog when using Commons SCXML to drive the underlying state machine.
This includes:
WARNING - These classes should ONLY be used by the dialog framework infrastructure. They are NOT meant to be used by the application.
Nested Class Summary | |
---|---|
static class |
DialogMetadata.SCXMLAction
A POJO representing the bits of a custom Commons SCXML action used in a Shale dialog. |
Constructor Summary | |
---|---|
DialogMetadata()
Constructor. |
Method Summary | |
---|---|
void |
addDialogAction(DialogMetadata.SCXMLAction scxmlAction)
Add this Commons SCXML custom action for this specific dialog. |
String |
getDataclassname()
Get the data class FQN. |
List |
getDialogActions()
Get the list of dialog actions defined for this specific dialog. |
String |
getName()
Get the dialog name. |
String |
getScxmlconfig()
Get the location where the SCXML document for this dialog resides. |
org.apache.commons.scxml.model.SCXML |
getStateMachine()
Get the Commons SCXML object model describing the state machine for this dialog. |
void |
setDataclassname(String dataclassname)
Set the data class FQN. |
void |
setName(String name)
Set the dialog name. |
void |
setScxmlconfig(String scxmlconfig)
Set the location where the SCXML document for this dialog resides. |
void |
setStateMachine(org.apache.commons.scxml.model.SCXML stateMachine)
Set the Commons SCXML object model describing the state machine for this dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialogMetadata()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The dialog name.public String getDataclassname()
public void setDataclassname(String dataclassname)
dataclassname
- The data class FQN.public String getScxmlconfig()
public void setScxmlconfig(String scxmlconfig)
scxmlconfig
- The SCXML dialog configuration file location.public org.apache.commons.scxml.model.SCXML getStateMachine()
public void setStateMachine(org.apache.commons.scxml.model.SCXML stateMachine)
stateMachine
- The stateMachine to set.public void addDialogAction(DialogMetadata.SCXMLAction scxmlAction)
scxmlAction
- The SCXMLAction to be added.public List getDialogActions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |