Package | Description |
---|---|
org.jivesoftware.smackx.commands | |
org.jivesoftware.smackx.commands.packet |
Modifier and Type | Method and Description |
---|---|
protected AdHocCommand.Action |
AdHocCommand.getExecuteAction()
Returns the action available for the current stage which is
considered the equivalent to "execute".
|
static AdHocCommand.Action |
AdHocCommand.Action.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdHocCommand.Action[] |
AdHocCommand.Action.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected List<AdHocCommand.Action> |
AdHocCommand.getActions()
Returns a collection with the allowed actions based on the current stage.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AdHocCommand.addActionAvailable(AdHocCommand.Action action)
Add an action to the current stage available actions.
|
protected boolean |
AdHocCommand.isValidAction(AdHocCommand.Action action)
Returns true if the
action is available in the current stage. |
protected void |
AdHocCommand.setExecuteAction(AdHocCommand.Action action)
Sets which of the actions available for the current stage is
considered the equivalent to "execute".
|
Modifier and Type | Method and Description |
---|---|
AdHocCommand.Action |
AdHocCommandData.getAction()
Returns the action to execute.
|
AdHocCommand.Action |
AdHocCommandData.getExecuteAction() |
Modifier and Type | Method and Description |
---|---|
List<AdHocCommand.Action> |
AdHocCommandData.getActions() |
Modifier and Type | Method and Description |
---|---|
void |
AdHocCommandData.addAction(AdHocCommand.Action action) |
void |
AdHocCommandData.setAction(AdHocCommand.Action action) |
void |
AdHocCommandData.setExecuteAction(AdHocCommand.Action executeAction) |