public abstract class UtilityCondition<U extends UtilityCondition> extends TransformationUtility<U>
TransformationUtility
classes, every
UtilityCondition subclass result type must always
be boolean. The criteria to the condition can be
based on a single file (when checking if a particular
file contains a given word for example) or multiple files
(when comparing two files for example).
IMPORTANT:
Every UtilityCondition subclass MUST be a Java bean, which means they must have
a public no arguments default constructor, and also public setters and getters for all
their properties. In addition to that, every setter must return the
UtilityCondition instance.UTILITY_NAME_SYNTAX
Constructor and Description |
---|
UtilityCondition() |
abortOnFailure, abortOnFailure, absolute, absolute, applyPropertiesFromContext, checkDependencies, checkForBlankString, checkForEmptyString, checkForNull, clone, copy, dependsOn, equals, executeIf, executeIf, executeUnless, execution, getAbortionMessage, getAbsoluteFile, getContextAttributeName, getDependencies, getDescription, 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