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
Modifier and TypeMethodDescriptionReturns the action to execute.getForm()Returns the form of the command.getName()Returns the human name of the command.getNode()Returns the identifier of the command.getNotes()Returns the list of notes that the command has.Returns the status of the execution.default booleandefault booleanMethods inherited from interface org.jivesoftware.smack.packet.IqView
getType, isRequestIQ, isResponseIQMethods inherited from interface org.jivesoftware.smack.packet.StanzaView
getError, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getStanzaId, getTo, hasExtension, hasExtension, hasExtensionMethods inherited from interface org.jivesoftware.smack.packet.XmlLangElement
getLanguage
-
Method Details
-
getNode
String getNode()Returns the identifier of the command.- Returns:
- the node.
-
getName
String getName()Returns the human name of the command.- Returns:
- the name of the command.
-
getSessionId
String getSessionId() -
getNotes
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
Set<AdHocCommandData.AllowedAction> getActions() -
getExecuteAction
AdHocCommandData.AllowedAction getExecuteAction() -
isCompleted
default boolean isCompleted() -
isExecuting
default boolean isExecuting()
-