@Bean(name="scriptCommandProcessor", active=true) public class ComponenScriptCommandProcessor extends Object implements AdHocCommandModule.ScriptCommandProcessor
Constructor and Description |
---|
ComponenScriptCommandProcessor() |
Modifier and Type | Method and Description |
---|---|
List<Element> |
getScriptItems(String node,
JID jid,
JID from) |
boolean |
isAllowed(String node,
JID from) |
boolean |
isAllowed(String node,
String domain,
JID from) |
boolean |
processScriptCommand(Packet pc,
Queue<Packet> results) |
public List<Element> getScriptItems(String node, JID jid, JID from)
getScriptItems
in interface AdHocCommandModule.ScriptCommandProcessor
public boolean processScriptCommand(Packet pc, Queue<Packet> results)
processScriptCommand
in interface AdHocCommandModule.ScriptCommandProcessor
public boolean isAllowed(String node, JID from)
isAllowed
in interface AdHocCommandModule.ScriptCommandProcessor
public boolean isAllowed(String node, String domain, JID from)
isAllowed
in interface AdHocCommandModule.ScriptCommandProcessor
Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.