public abstract class AbstractScriptCommand extends StatisticHolderImpl implements CommandIfc
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
lineCommentStart
Field description
|
counter, level, name
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, 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 and Description |
---|
AbstractScriptCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getCommandId() |
String |
getDescription() |
String |
getGroup() |
void |
init(String id,
String description,
String group) |
boolean |
isAdminOnly() |
protected boolean |
isEmpty(String val) |
void |
setAdminOnly(boolean adminOnly) |
getStatistics, setStatisticsPrefix, statisticExecutedIn
everyHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecond
getLevel, getName, getValue, inc, setName, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBindings, runCommand
everyHour, everyMinute, everySecond, getStatistics, setStatisticsPrefix, statisticExecutedIn
public String getCommandId()
getCommandId
in interface CommandIfc
public String getDescription()
getDescription
in interface CommandIfc
public String getGroup()
getGroup
in interface CommandIfc
public void init(String id, String description, String group)
init
in interface CommandIfc
public boolean isAdminOnly()
isAdminOnly
in interface CommandIfc
public void setAdminOnly(boolean adminOnly)
setAdminOnly
in interface CommandIfc
protected boolean isEmpty(String val)
Copyright © 2018 "Tigase, Inc.". All rights reserved.