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_NAME, DEL_SCRIPT_CMD, DESCRIPT, LANGUAGE, PACKET, SAVE_TO_DISK, SCRI_MANA, SCRIPT_BASE_DIR, SCRIPT_COMP_DIR, SCRIPT_COMPONENT, SCRIPT_DESCRIPTION, 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
|
void |
init(String id,
String description)
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 void init(String id, String description)
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.