public class AddScriptCommand extends AbstractScriptCommand
lineCommentStart
ADD_SCRIPT_CMD, ADMINS_SET, ADMN_CMDS, ADMN_DISC, AUTH_REPO, COMMAND_ID, COMMANDS_ACL, COMPONENT, COMPONENT_NAME, 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)
Method description
|
getCommandId, getDescription, getGroup, init, isAdminOnly, isEmpty, setAdminOnly
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()
Copyright © 2014 "Tigase, Inc.". All rights reserved.