public abstract class AbstractApiKeyCmd
extends tigase.stats.StatisticHolderImpl
implements tigase.server.script.CommandIfc
| Modifier and Type | Field and Description |
|---|---|
protected static String |
MARKER |
protected RestModule |
module |
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, EVENTBUS, 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 |
|---|
AbstractApiKeyCmd(RestModule module) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIsFromAdmin(tigase.server.Iq packet,
Consumer<tigase.server.Packet> writer) |
Bindings |
getBindings() |
void |
init(String id,
String description,
String group) |
boolean |
isAdminOnly() |
void |
setAdminOnly(boolean adminOnly) |
getStatistics, setStatisticsPrefix, statisticExecutedIneveryHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecondgetLevel, getName, getValue, inc, setName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected static final String MARKER
protected final RestModule module
public AbstractApiKeyCmd(RestModule module)
public Bindings getBindings()
getBindings in interface tigase.server.script.CommandIfcpublic void init(String id, String description, String group)
init in interface tigase.server.script.CommandIfcpublic boolean isAdminOnly()
isAdminOnly in interface tigase.server.script.CommandIfcpublic void setAdminOnly(boolean adminOnly)
setAdminOnly in interface tigase.server.script.CommandIfcprotected boolean checkIsFromAdmin(tigase.server.Iq packet,
Consumer<tigase.server.Packet> writer)
Copyright © 2013–2021 Tigase. All rights reserved.