@Bean(name="x-add-task", parent=MonitorComponent.class, active=true) public class AddScriptTaskCommand extends Object implements AdHocCommand
| Constructor and Description |
|---|
AddScriptTaskCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(AdhHocRequest request,
AdHocResponse response) |
Optional<String> |
getGroup() |
String |
getName() |
String |
getNode() |
boolean |
isAllowedFor(JID jid) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic void execute(AdhHocRequest request, AdHocResponse response) throws AdHocCommandException
execute in interface AdHocCommandAdHocCommandExceptionpublic String getName()
getName in interface AdHocCommandpublic String getNode()
getNode in interface AdHocCommandpublic Optional<String> getGroup()
getGroup in interface AdHocCommandpublic boolean isAllowedFor(JID jid)
isAllowedFor in interface AdHocCommandCopyright © 2004–2020 "Tigase, Inc.". All rights reserved.