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 void
execute(AdhHocRequest request, AdHocResponse response)
java.util.Optional<java.lang.String>
getGroup()
java.lang.String
getName()
java.lang.String
getNode()
boolean
isAllowedFor(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:
execute
in interfaceAdHocCommand
- Throws:
AdHocCommandException
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceAdHocCommand
-
getNode
public java.lang.String getNode()
- Specified by:
getNode
in interfaceAdHocCommand
-
getGroup
public java.util.Optional<java.lang.String> getGroup()
- Specified by:
getGroup
in interfaceAdHocCommand
-
isAllowedFor
public boolean isAllowedFor(JID jid)
- Specified by:
isAllowedFor
in interfaceAdHocCommand
-
-