io.sarl.lang.compiler.batch
Enumeration CompilerStatus
All Superinterfaces:
java.io.Serializable, java.lang.Comparable<T>, java.lang.constant.Constable
sealed enum CompilerStatus
extends java.lang.Object
The type of statut that is reached by a Java batch compiler.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
batchcompiler
Since:
0.12
Property Summary
Modifier and type Property and description
java.lang.String failureExplanation
Replies the standard text that explains the failing status.
Enumeration Constant Summary
Constant and description
CANCELED
Compilation is manually canceled.
COMPILATION_FAILURE
Compilation failure.
COMPILATION_SUCCESS
Compilation success.
NOTHING_TO_COMPILE
No source code found.
Action Summary
Modifier and type Action and description
abstract java.lang.String getFailureExplanation
Replies the standard text that explains the failing status.
abstract boolean isSuccess
Replies if the status is a success or an error.
static CompilerStatus valueOf(String)
static CompilerStatus values
Enumeration Constant Details
CANCELED
static val CANCELED : CompilerStatus
Compilation is manually canceled.
COMPILATION_FAILURE
static val COMPILATION_FAILURE : CompilerStatus
Compilation failure.
COMPILATION_SUCCESS
static val COMPILATION_SUCCESS : CompilerStatus
Compilation success.
NOTHING_TO_COMPILE
static val NOTHING_TO_COMPILE : CompilerStatus
No source code found.
Property Details
failureExplanation
val failureExplanation : java.lang.String
Replies the standard text that explains the failing status.

This property is an alias for the action: getFailureExplanation

Returns:
the explanation text; or null if the status is successfull.
Action Details
getFailureExplanation
def getFailureExplanation : java.lang.String
Replies the standard text that explains the failing status.
Returns:
the explanation text; or null if the status is successfull.
isSuccess
def isSuccess : boolean
Replies if the status is a success or an error.
Returns:
true if the compiler has terminated on a success.
valueOf(String)
def valueOf(String) : CompilerStatus
values
def values : CompilerStatus