Package tigase.pubsub.modules.commands
Class DefaultConfigCommand
- java.lang.Object
-
- tigase.pubsub.modules.commands.DefaultConfigCommand
-
- All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand
@Bean(name="default-config-adhoc", parent=PubSubComponent.class, active=true) public class DefaultConfigCommand extends Object implements tigase.component.adhoc.AdHocCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultConfigCommand.DefaultNodeConfigurationChangedEvent
-
Constructor Summary
Constructors Constructor Description DefaultConfigCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)StringgetName()StringgetNode()booleanisAllowedFor(tigase.xmpp.jid.JID jid)
-
-
-
Field Detail
-
log
protected Logger log
-
-
Method Detail
-
execute
public void execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException- Specified by:
executein interfacetigase.component.adhoc.AdHocCommand- Throws:
tigase.component.adhoc.AdHocCommandException
-
getName
public String getName()
- Specified by:
getNamein interfacetigase.component.adhoc.AdHocCommand
-
getNode
public String getNode()
- Specified by:
getNodein interfacetigase.component.adhoc.AdHocCommand
-
isAllowedFor
public boolean isAllowedFor(tigase.xmpp.jid.JID jid)
- Specified by:
isAllowedForin interfacetigase.component.adhoc.AdHocCommand
-
-