public abstract class Command
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
alias |
protected java.lang.Object[] |
args |
protected boolean |
clientOnly |
protected java.lang.String |
description |
protected common.commandline.Executable |
executable |
Constructor and Description |
---|
Command(java.lang.String alias,
boolean clientOnly,
java.lang.String description,
common.commandline.Executable executable) |
Modifier and Type | Method and Description |
---|---|
common.commandline.response.CommandResult |
executeOnClient() |
abstract boolean |
validate(java.lang.String[] args) |
protected final java.lang.String alias
protected final java.lang.String description
protected final boolean clientOnly
protected final common.commandline.Executable executable
protected java.lang.Object[] args