Interface AdHocCommand
- All Known Implementing Classes:
AbstractAdHocCommand, AbstractCredentialsCommand, AddScriptTaskCommand, AddTimerScriptTaskCommand, AddUserCredentials, ConfiguratorCommand, ConfigureTaskCommand, DeleteScriptTaskCommand, DeleteUserCredentials, InfoTaskCommand, PushNotifications.AbstractAdhocCommand, PushNotifications.DisableDeviceAdHocCommand, PushNotifications.ListDevicesAdhocCommand, RTBLAddCommand, RTBLDeleteCommand, ShowUserCredentials, SuggestedDomainsListAdhoc
public interface AdHocCommand
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(AdhHocRequest request, AdHocResponse response) default voidexecute(AdhHocRequest request, AdHocResponse response, Runnable completionHandler, Consumer<AdHocCommandException> exceptionHandler) default CmdAclgetGroup()getName()getNode()booleanisAllowedFor(JID jid) Deprecated.default booleanisAllowedFor(JID from, JID to) default boolean
-
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
Deprecated. -
isAllowedFor
-
isForSelf
default boolean isForSelf() -
getDefaultACL
-