|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.croesch.micro_debug.argument.AArgument
com.github.croesch.micro_debug.argument.AError
public abstract class AError
Represents an argument to represent an invalid argument.
| Constructor Summary | |
|---|---|
AError()
|
|
| Method Summary | |
|---|---|
boolean |
execute(java.lang.String... params)
Executes commands that result in the specific argument. |
protected abstract Text |
getErrorText()
Returns the Text to visualise the problem of the invalid argument. |
protected java.lang.String |
name()
Returns the name of this argument containing only lower case characters and -. |
| Methods inherited from class com.github.croesch.micro_debug.argument.AArgument |
|---|
createArgumentList, matches, of, releaseAllResources, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AError()
| Method Detail |
|---|
public final boolean execute(java.lang.String... params)
AArgument
execute in class AArgumentparams - the parameters of that argument, in case of the pseudo arguments (prefix ERROR_) this array contains
the causes for the error.
false, if the argument enforces the application to stop@NotNull protected final java.lang.String name()
AArgument
name in class AArgument@NotNull protected abstract Text getErrorText()
Text to visualise the problem of the invalid argument.
Text that describes why the argument is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||