Package tigase.component
Class ComponenScriptCommandProcessor
- java.lang.Object
-
- tigase.component.ComponenScriptCommandProcessor
-
- All Implemented Interfaces:
AdHocCommandModule.ScriptCommandProcessor
@Bean(name="scriptCommandProcessor", active=true) public class ComponenScriptCommandProcessor extends Object implements AdHocCommandModule.ScriptCommandProcessor
-
-
Constructor Summary
Constructors Constructor Description ComponenScriptCommandProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Element>getScriptItems(String node, JID jid, JID from)booleanisAllowed(String node, String domain, JID from)booleanisAllowed(String node, JID from)booleanprocessScriptCommand(Packet pc, Queue<Packet> results)
-
-
-
Method Detail
-
getScriptItems
public List<Element> getScriptItems(String node, JID jid, JID from)
- Specified by:
getScriptItemsin interfaceAdHocCommandModule.ScriptCommandProcessor
-
processScriptCommand
public boolean processScriptCommand(Packet pc, Queue<Packet> results)
- Specified by:
processScriptCommandin interfaceAdHocCommandModule.ScriptCommandProcessor
-
isAllowed
public boolean isAllowed(String node, JID from)
- Specified by:
isAllowedin interfaceAdHocCommandModule.ScriptCommandProcessor
-
isAllowed
public boolean isAllowed(String node, String domain, JID from)
- Specified by:
isAllowedin interfaceAdHocCommandModule.ScriptCommandProcessor
-
-