public abstract class AbstractScriptCommand extends Object implements CommandIfc
Modifier and Type | Field and Description |
---|---|
static Map<String,String> |
lineCommentStart
Field description
|
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 |
---|
AbstractScriptCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getCommandId()
Method description
|
String |
getDescription()
Method description
|
String |
getGroup()
Method description
|
void |
init(String id,
String description,
String group)
Method description
|
boolean |
isAdminOnly()
Method description
|
protected boolean |
isEmpty(String val) |
void |
setAdminOnly(boolean adminOnly)
Method description
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBindings, runCommand
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
id
- description
- public boolean isAdminOnly()
isAdminOnly
in interface CommandIfc
public void setAdminOnly(boolean adminOnly)
setAdminOnly
in interface CommandIfc
adminOnly
- protected boolean isEmpty(String val)
Copyright © 2014 "Tigase, Inc.". All rights reserved.