public class TUExecutionResult extends ExecutionResult<TransformationUtility,TUExecutionResult,TUExecutionResult.Type>
TransformationUtility
instance has been executed.TUExecutionResult
Modifier and Type | Class and Description |
---|---|
static class |
TUExecutionResult.Type
The type of result after the
TransformationUtility instance has been executed. |
Modifier and Type | Method and Description |
---|---|
R |
addWarning(java.lang.Exception arg0) |
protected void |
changeTypeOnWarning() |
protected boolean |
dependencyFailureCheck() |
static TUExecutionResult |
error(TransformationUtility transformationUtility,
java.lang.Exception exception) |
static TUExecutionResult |
error(TransformationUtility transformationUtility,
java.lang.Exception exception,
java.lang.Object value) |
static TUExecutionResult |
error(TransformationUtility transformationUtility,
java.lang.Object value,
java.lang.Exception exception,
java.lang.String details) |
java.lang.String |
getDetails() |
java.lang.Exception |
getException() |
S |
getSource() |
T |
getType() |
java.lang.Object |
getValue()
Returns the value returned by the transformation utility, which can be null
|
java.util.List<java.lang.Exception> |
getWarnings() |
protected boolean |
isExceptionType() |
static TUExecutionResult |
nullResult(TransformationUtility transformationUtility) |
static TUExecutionResult |
nullResult(TransformationUtility transformationUtility,
java.lang.String details) |
R |
setDetails(java.lang.String arg0) |
protected R |
setException(java.lang.Exception arg0) |
protected R |
setType(T arg0) |
static TUExecutionResult |
value(TransformationUtility transformationUtility,
java.lang.Object value) |
static TUExecutionResult |
value(TransformationUtility transformationUtility,
java.lang.String details,
java.lang.Object value) |
static TUExecutionResult |
warning(TransformationUtility transformationUtility,
java.lang.Exception exception,
java.lang.Object value) |
static TUExecutionResult |
warning(TransformationUtility transformationUtility,
java.lang.Exception exception,
java.lang.String details,
java.lang.Object value) |
static TUExecutionResult |
warning(TransformationUtility transformationUtility,
java.lang.String details,
java.lang.Object value) |
public static TUExecutionResult nullResult(TransformationUtility transformationUtility)
public static TUExecutionResult nullResult(TransformationUtility transformationUtility, java.lang.String details)
public static TUExecutionResult value(TransformationUtility transformationUtility, java.lang.Object value)
public static TUExecutionResult value(TransformationUtility transformationUtility, java.lang.String details, java.lang.Object value)
public static TUExecutionResult warning(TransformationUtility transformationUtility, java.lang.String details, java.lang.Object value)
public static TUExecutionResult warning(TransformationUtility transformationUtility, java.lang.Exception exception, java.lang.Object value)
public static TUExecutionResult warning(TransformationUtility transformationUtility, java.lang.Exception exception, java.lang.String details, java.lang.Object value)
public static TUExecutionResult error(TransformationUtility transformationUtility, java.lang.Exception exception)
public static TUExecutionResult error(TransformationUtility transformationUtility, java.lang.Exception exception, java.lang.Object value)
public static TUExecutionResult error(TransformationUtility transformationUtility, java.lang.Object value, java.lang.Exception exception, java.lang.String details)
protected void changeTypeOnWarning()
public java.lang.Object getValue()
protected boolean isExceptionType()
protected boolean dependencyFailureCheck()
protected R setType(T arg0)
public R setDetails(java.lang.String arg0)
protected R setException(java.lang.Exception arg0)
public R addWarning(java.lang.Exception arg0)
public S getSource()
public T getType()
public java.lang.String getDetails()
public java.lang.Exception getException()
public java.util.List<java.lang.Exception> getWarnings()