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 javax.script.BindingsgetBindings()java.lang.StringgetCommandId()java.lang.StringgetDescription()java.lang.StringgetGroup()voidinit(java.lang.String id, java.lang.String description, java.lang.String group)booleanisAdminOnly()voidrunCommand(tigase.server.Iq packet, javax.script.Bindings binds, java.util.Queue<tigase.server.Packet> results)voidsetAdminOnly(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 javax.script.Bindings getBindings()
- Specified by:
getBindingsin interfacetigase.server.script.CommandIfc
-
getCommandId
public java.lang.String getCommandId()
- Specified by:
getCommandIdin interfacetigase.server.script.CommandIfc
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfacetigase.server.script.CommandIfc
-
getGroup
public java.lang.String getGroup()
- Specified by:
getGroupin interfacetigase.server.script.CommandIfc
-
init
public void init(java.lang.String id, java.lang.String description, java.lang.String group)- Specified by:
initin interfacetigase.server.script.CommandIfc
-
isAdminOnly
public boolean isAdminOnly()
- Specified by:
isAdminOnlyin interfacetigase.server.script.CommandIfc
-
setAdminOnly
public void setAdminOnly(boolean adminOnly)
- Specified by:
setAdminOnlyin interfacetigase.server.script.CommandIfc
-
runCommand
public void runCommand(tigase.server.Iq packet, javax.script.Bindings binds, java.util.Queue<tigase.server.Packet> results)- Specified by:
runCommandin interfacetigase.server.script.CommandIfc
-
-