public class DialogMetadata extends Object implements Serializable
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
DialogMetadata.SCXMLAction
A POJO representing the bits of a custom Commons SCXML action used
in a Shale dialog.
|
| Constructor and Description |
|---|
DialogMetadata()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.