@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, wait
execute
public void execute(AdhHocRequest request, AdHocResponse response) throws AdHocCommandException
execute
in interface AdHocCommand
AdHocCommandException
public String getName()
getName
in interface AdHocCommand
public String getNode()
getNode
in interface AdHocCommand
public Optional<String> getGroup()
getGroup
in interface AdHocCommand
public boolean isAllowedFor(JID jid)
isAllowedFor
in interface AdHocCommand
Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.