public class DefaultConfigCommand extends Object implements AdHocCommand
| Modifier and Type | Class and Description |
|---|---|
static interface |
DefaultConfigCommand.DefaultNodeConfigurationChangedHandler |
| Constructor and Description |
|---|
DefaultConfigCommand(PubSubConfig config,
tigase.db.UserRepository userRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultNodeConfigurationChangedHandler(DefaultConfigCommand.DefaultNodeConfigurationChangedHandler handler) |
void |
execute(AdhHocRequest request,
AdHocResponse response) |
String |
getName() |
String |
getNode() |
void |
removeDefaultNodeConfigurationChangedHandler(DefaultConfigCommand.DefaultNodeConfigurationChangedHandler handler) |
protected Logger log
public DefaultConfigCommand(PubSubConfig config, tigase.db.UserRepository userRepository)
public void addDefaultNodeConfigurationChangedHandler(DefaultConfigCommand.DefaultNodeConfigurationChangedHandler handler)
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 void removeDefaultNodeConfigurationChangedHandler(DefaultConfigCommand.DefaultNodeConfigurationChangedHandler handler)
Copyright © 2008–2015 Tigase. All rights reserved.