public enum TerminateAnswer extends Enum<TerminateAnswer> implements Answer
ProcessExecution.isMarkedAsFinished()| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
int |
length() |
void |
reply(ProcessExecution execution)
Reply to the current process execution with the answer
|
CharSequence |
subSequence(int start,
int end) |
static TerminateAnswer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TerminateAnswer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOftoStringpublic static final TerminateAnswer INSTANCE
public static TerminateAnswer[] values()
for (TerminateAnswer c : TerminateAnswer.values()) System.out.println(c);
public static TerminateAnswer valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic int length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequencepublic void reply(ProcessExecution execution) throws IOException
Answerreply in interface AnswerIOExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.