public class AddListenerScriptCommand extends Object implements AdHocCommand
| Constructor and Description |
|---|
AddListenerScriptCommand(ScriptEngineManager scriptEngineManager,
ListenerScriptRegistrar registrar) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(AdhHocRequest request,
AdHocResponse response) |
String |
getName() |
String |
getNode() |
boolean |
isAllowedFor(JID jid) |
public AddListenerScriptCommand(ScriptEngineManager scriptEngineManager, ListenerScriptRegistrar registrar)
public void execute(AdhHocRequest request, AdHocResponse response) throws AdHocCommandException
execute in interface AdHocCommandAdHocCommandExceptionpublic String getName()
getName in interface AdHocCommandpublic String getNode()
getNode in interface AdHocCommandpublic boolean isAllowedFor(JID jid)
isAllowedFor in interface AdHocCommandCopyright © 2022 "Tigase, Inc.". All rights reserved.