Package tigase.component.adhoc
Interface AdHocCommand
- All Known Implementing Classes:
AbstractAdHocCommand
,AbstractCredentialsCommand
,AddScriptTaskCommand
,AddTimerScriptTaskCommand
,AddUserCredentials
,ConfiguratorCommand
,ConfigureTaskCommand
,DeleteScriptTaskCommand
,DeleteUserCredentials
,InfoTaskCommand
,RTBLAddCommand
,RTBLDeleteCommand
,ShowUserCredentials
public interface AdHocCommand
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(AdhHocRequest request, AdHocResponse response) default void
execute
(AdhHocRequest request, AdHocResponse response, Runnable completionHandler, Consumer<AdHocCommandException> exceptionHandler) getGroup()
getName()
getNode()
boolean
isAllowedFor
(JID jid)
-
Method Details
-
execute
- Throws:
AdHocCommandException
-
execute
default void execute(AdhHocRequest request, AdHocResponse response, Runnable completionHandler, Consumer<AdHocCommandException> exceptionHandler) throws AdHocCommandException - Throws:
AdHocCommandException
-
getName
String getName() -
getNode
String getNode() -
getGroup
-
isAllowedFor
-