public class AddScriptCommand extends AbstractScriptCommand
lineCommentStart
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 |
---|
AddScriptCommand() |
Modifier and Type | Method and Description |
---|---|
Script |
addAdminScript(String cmdId,
String cmdDescr,
String cmdGroup,
String script,
String lang,
String ext,
Bindings binds)
Method description
|
Bindings |
getBindings()
Method description
|
void |
runCommand(Iq packet,
Bindings binds,
Queue<Packet> results) |
getCommandId, getDescription, getGroup, init, isAdminOnly, isEmpty, setAdminOnly
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
everyHour, everyMinute, everySecond, getStatistics, setStatisticsPrefix, statisticExecutedIn
public Script addAdminScript(String cmdId, String cmdDescr, String cmdGroup, String script, String lang, String ext, Bindings binds) throws ScriptException
cmdId
- cmdDescr
- cmdGroup
- script
- lang
- ext
- binds
- ScriptException
public Bindings getBindings()
CommandIfc
Copyright © 2019 "Tigase, Inc.". All rights reserved.