Interface AdHocCommandDataView
-
- All Superinterfaces:
org.jivesoftware.smack.packet.IqView,org.jivesoftware.smack.packet.StanzaView,org.jivesoftware.smack.packet.XmlLangElement
- All Known Implementing Classes:
AdHocCommandData,AdHocCommandDataBuilder
public interface AdHocCommandDataView extends org.jivesoftware.smack.packet.IqView
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AdHocCommandData.ActiongetAction()Returns the action to execute.java.util.Set<AdHocCommandData.AllowedAction>getActions()AdHocCommandData.AllowedActiongetExecuteAction()DataFormgetForm()Returns the form of the command.java.lang.StringgetName()Returns the human name of the command.java.lang.StringgetNode()Returns the identifier of the command.java.util.List<AdHocCommandNote>getNotes()Returns the list of notes that the command has.java.lang.StringgetSessionId()AdHocCommandData.StatusgetStatus()Returns the status of the execution.default booleanisCompleted()default booleanisExecuting()-
Methods inherited from interface org.jivesoftware.smack.packet.IqView
getType, isRequestIQ, isResponseIQ
-
-
-
-
Method Detail
-
getNode
java.lang.String getNode()
Returns the identifier of the command.- Returns:
- the node.
-
getName
java.lang.String getName()
Returns the human name of the command.- Returns:
- the name of the command.
-
getSessionId
java.lang.String getSessionId()
-
getNotes
java.util.List<AdHocCommandNote> getNotes()
Returns the list of notes that the command has.- Returns:
- the notes.
-
getForm
DataForm getForm()
Returns the form of the command.- Returns:
- the data form associated with the command.
-
getAction
AdHocCommandData.Action getAction()
Returns the action to execute. The action is set only on a request.- Returns:
- the action to execute.
-
getStatus
AdHocCommandData.Status getStatus()
Returns the status of the execution.- Returns:
- the status.
-
getActions
java.util.Set<AdHocCommandData.AllowedAction> getActions()
-
getExecuteAction
AdHocCommandData.AllowedAction getExecuteAction()
-
isCompleted
default boolean isCompleted()
-
isExecuting
default boolean isExecuting()
-
-