Package tigase.http.modules.rest
Class ReloadHandlersCmd
- java.lang.Object
-
- tigase.stats.CounterValue
-
- tigase.stats.Counter
-
- tigase.stats.StatisticHolderImpl
-
- tigase.http.modules.rest.ReloadHandlersCmd
-
- All Implemented Interfaces:
tigase.server.script.CommandIfc
,tigase.stats.StatisticHolder
public class ReloadHandlersCmd extends tigase.stats.StatisticHolderImpl implements tigase.server.script.CommandIfc
-
-
Field Summary
-
Fields inherited from interface tigase.server.script.CommandIfc
ADD_SCRIPT_CMD, ADMINS_SET, ADMN_CMDS, ADMN_DISC, AUTH_REPO, COMMAND_ID, COMMANDS_ACL, COMPONENT, COMPONENT_NAME, CONNECTED_NODES, CONNECTED_NODES_WITH_LOCAL, DEL_SCRIPT_CMD, DESCRIPT, EVENTBUS, GROUP, LANGUAGE, PACKET, REMOVE_FROM_DISK, SAVE_TO_DISK, SCRI_MANA, SCRIPT_BASE_DIR, SCRIPT_CLASS, SCRIPT_COMP_DIR, SCRIPT_COMPONENT, SCRIPT_DESCRIPTION, SCRIPT_GROUP, SCRIPT_ID, SCRIPT_RESULT, SCRIPT_TEXT, SERVICES_MAP, USER_CONN, USER_REPO, USER_SESS, VHOST_MANAGER
-
-
Constructor Summary
Constructors Constructor Description ReloadHandlersCmd(RestModule restModule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bindings
getBindings()
String
getCommandId()
String
getDescription()
String
getGroup()
void
init(String id, String description, String group)
boolean
isAdminOnly()
void
runCommand(tigase.server.Iq packet, Bindings binds, Queue<tigase.server.Packet> results)
void
setAdminOnly(boolean adminOnly)
-
Methods inherited from class tigase.stats.StatisticHolderImpl
getStatistics, setStatisticsPrefix, statisticExecutedIn
-
Methods inherited from class tigase.stats.Counter
everyHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecond
-
Methods inherited from class tigase.stats.CounterValue
getLevel, getName, getValue, inc, setName, toString
-
-
-
-
Constructor Detail
-
ReloadHandlersCmd
public ReloadHandlersCmd(RestModule restModule)
-
-
Method Detail
-
getBindings
public Bindings getBindings()
- Specified by:
getBindings
in interfacetigase.server.script.CommandIfc
-
getCommandId
public String getCommandId()
- Specified by:
getCommandId
in interfacetigase.server.script.CommandIfc
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfacetigase.server.script.CommandIfc
-
getGroup
public String getGroup()
- Specified by:
getGroup
in interfacetigase.server.script.CommandIfc
-
init
public void init(String id, String description, String group)
- Specified by:
init
in interfacetigase.server.script.CommandIfc
-
isAdminOnly
public boolean isAdminOnly()
- Specified by:
isAdminOnly
in interfacetigase.server.script.CommandIfc
-
setAdminOnly
public void setAdminOnly(boolean adminOnly)
- Specified by:
setAdminOnly
in interfacetigase.server.script.CommandIfc
-
-