Package tigase.monitor.modules
Class AddScriptTaskCommand
- java.lang.Object
-
- tigase.monitor.modules.AddScriptTaskCommand
-
- All Implemented Interfaces:
AdHocCommand
@Bean(name="x-add-task", parent=MonitorComponent.class, active=true) public class AddScriptTaskCommand extends Object implements AdHocCommand
-
-
Constructor Summary
Constructors Constructor Description AddScriptTaskCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(AdhHocRequest request, AdHocResponse response)Optional<String>getGroup()StringgetName()StringgetNode()booleanisAllowedFor(JID jid)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tigase.component.adhoc.AdHocCommand
execute
-
-
-
-
Method Detail
-
execute
public void execute(AdhHocRequest request, AdHocResponse response) throws AdHocCommandException
- Specified by:
executein interfaceAdHocCommand- Throws:
AdHocCommandException
-
getName
public String getName()
- Specified by:
getNamein interfaceAdHocCommand
-
getNode
public String getNode()
- Specified by:
getNodein interfaceAdHocCommand
-
getGroup
public Optional<String> getGroup()
- Specified by:
getGroupin interfaceAdHocCommand
-
isAllowedFor
public boolean isAllowedFor(JID jid)
- Specified by:
isAllowedForin interfaceAdHocCommand
-
-