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 java.lang.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)java.util.Optional<java.lang.String>getGroup()java.lang.StringgetName()java.lang.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 java.lang.String getName()
- Specified by:
getNamein interfaceAdHocCommand
-
getNode
public java.lang.String getNode()
- Specified by:
getNodein interfaceAdHocCommand
-
getGroup
public java.util.Optional<java.lang.String> getGroup()
- Specified by:
getGroupin interfaceAdHocCommand
-
isAllowedFor
public boolean isAllowedFor(JID jid)
- Specified by:
isAllowedForin interfaceAdHocCommand
-
-