Interface AdHocCommandDataView
-
- All Superinterfaces:
IqView
,StanzaView
,XmlLangElement
- All Known Implementing Classes:
AdHocCommandData
,AdHocCommandDataBuilder
public interface AdHocCommandDataView extends IqView
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AdHocCommandData.Action
getAction()
Returns the action to execute.Set<AdHocCommandData.AllowedAction>
getActions()
AdHocCommandData.AllowedAction
getExecuteAction()
DataForm
getForm()
Returns the form of the command.String
getName()
Returns the human name of the command.String
getNode()
Returns the identifier of the command.List<AdHocCommandNote>
getNotes()
Returns the list of notes that the command has.String
getSessionId()
AdHocCommandData.Status
getStatus()
Returns the status of the execution.default boolean
isCompleted()
default boolean
isExecuting()
-
Methods inherited from interface org.jivesoftware.smack.packet.IqView
getType, isRequestIQ, isResponseIQ
-
Methods inherited from interface org.jivesoftware.smack.packet.StanzaView
getError, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getStanzaId, getTo, hasExtension, hasExtension, hasExtension
-
Methods inherited from interface org.jivesoftware.smack.packet.XmlLangElement
getLanguage
-
-
-
-
Method Detail
-
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()
-
-