public class ResultCondition extends UtilityCondition<ResultCondition>
TransformationUtility
instance.
If a result for the specified utility name is not found, this condition returns false
, but with a warning.UTILITY_NAME_SYNTAX
Constructor and Description |
---|
ResultCondition() |
ResultCondition(java.lang.String utilityName) |
Modifier and Type | Method and Description |
---|---|
protected TUExecutionResult |
execution(java.io.File transformedAppFolder,
TransformationContext transformationContext)
The implementation execution of this transformation utility.
|
java.lang.String |
getDescription()
Returns a short one line, but SPECIFIC, description about the transformation
utility, including mentioning the files and/or folders
to be manipulated.
|
PerformResult.Type[] |
getPerformResultTypes() |
TOExecutionResult.Type[] |
getToExecutionResultTypes() |
TUExecutionResult.Type[] |
getTuExecutionResultTypes() |
java.lang.String |
getUtilityName() |
ResultCondition |
setPerformResultTypes(PerformResult.Type... performResultTypes) |
ResultCondition |
setToExecutionResultTypes(TOExecutionResult.Type... toExecutionResultTypes) |
ResultCondition |
setTuExecutionResultTypes(TUExecutionResult.Type... tuExecutionResultTypes) |
ResultCondition |
setUtilityName(java.lang.String utilityName) |
abortOnFailure, abortOnFailure, absolute, absolute, applyPropertiesFromContext, checkDependencies, checkForBlankString, checkForEmptyString, checkForNull, clone, copy, dependsOn, equals, executeIf, executeIf, executeUnless, getAbortionMessage, getAbsoluteFile, getContextAttributeName, getDependencies, getIfConditionAttributeName, getName, getOrder, getParent, getRelativePath, getRelativePath, getSimpleClassName, getTransformationTemplate, getUnlessConditionAttributeName, hasBeenPerformed, hashCode, hashCode, isAbortOnFailure, isFileSet, isSaveResult, normalizeRelativePathSeparator, perform, relative, set, setContextAttributeName, setName, setParent, setSaveResult, toString, wasFileExplicitlySet
public ResultCondition()
public ResultCondition(java.lang.String utilityName)
public ResultCondition setUtilityName(java.lang.String utilityName)
public ResultCondition setPerformResultTypes(PerformResult.Type... performResultTypes)
public ResultCondition setTuExecutionResultTypes(TUExecutionResult.Type... tuExecutionResultTypes)
public ResultCondition setToExecutionResultTypes(TOExecutionResult.Type... toExecutionResultTypes)
public java.lang.String getUtilityName()
public PerformResult.Type[] getPerformResultTypes()
public TUExecutionResult.Type[] getTuExecutionResultTypes()
public TOExecutionResult.Type[] getToExecutionResultTypes()
public java.lang.String getDescription()
TransformationUtility
getDescription
in class TransformationUtility<ResultCondition>
protected TUExecutionResult execution(java.io.File transformedAppFolder, TransformationContext transformationContext)
TransformationUtility
TransformationUtility.isSaveResult()
returns false.
ExecutionResult
error object.execution
in class TransformationUtility<ResultCondition>
transformedAppFolder
- the folder where the transformed application code istransformationContext
- the transformation context object