Package | Description |
---|---|
rocks.xmpp.extensions.commands.model |
Provides XML schema implementations of XEP-0050: Ad-Hoc Commands.
|
Modifier and Type | Method and Description |
---|---|
Command.Action |
Command.getAction()
Gets the action, which is used by the requester.
|
Command.Action |
Command.getDefaultAction()
Gets the default action or null, if there is no default action.
|
static Command.Action |
Command.Action.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Command.Action[] |
Command.Action.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Command.Action> |
Command.getActions()
Gets the possible command actions, which are provided by the responder.
|
Constructor and Description |
---|
Command(java.lang.String node,
Command.Action action)
Creates a command request for simple execution.
|
Command(java.lang.String node,
java.lang.String sessionId,
Command.Action action,
java.util.List<java.lang.Object> payloads)
Creates a command request, which is created by the requester.
|
Command(java.lang.String node,
java.lang.String sessionId,
Command.Action action,
java.util.List<java.lang.Object> payloads,
java.util.Locale language,
java.util.List<Command.Note> notes)
Creates a command request, which is created by the requester.
|
Command(java.lang.String node,
java.lang.String sessionId,
Command.Status status,
java.util.Collection<Command.Action> actions,
Command.Action defaultAction,
java.util.List<java.lang.Object> payloads)
Creates a command result, which is created by the responder.
|
Command(java.lang.String node,
java.lang.String sessionId,
Command.Status status,
java.util.Collection<Command.Action> actions,
Command.Action defaultAction,
java.util.List<java.lang.Object> payloads,
java.util.Locale language,
java.util.List<Command.Note> notes)
Creates a command result, which is created by the responder.
|
Constructor and Description |
---|
Command(java.lang.String node,
java.lang.String sessionId,
Command.Status status,
java.util.Collection<Command.Action> actions,
Command.Action defaultAction,
java.util.List<java.lang.Object> payloads)
Creates a command result, which is created by the responder.
|
Command(java.lang.String node,
java.lang.String sessionId,
Command.Status status,
java.util.Collection<Command.Action> actions,
Command.Action defaultAction,
java.util.List<java.lang.Object> payloads,
java.util.Locale language,
java.util.List<Command.Note> notes)
Creates a command result, which is created by the responder.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.