Class ProfileValueBasedTask
- java.lang.Object
-
- com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
-
- com.opencloud.slee.mlet.ant.tasks.ProfileValueBasedTask
-
- All Implemented Interfaces:
SubTask
- Direct Known Subclasses:
ProfileBasedTask
public abstract class ProfileValueBasedTask extends AbstractBaseTask
Abstract base class for all sub tasks that accept attribute elements.
Ant Parameters Attribute Description Required failonerror
Flag to control failure behaviour. If 'true', the sub task will throw a
BuildExceptionwhen an error is encountered. If 'false', the sub task will throw aNonFatalBuildExceptioninstead of aBuildExceptionunder specific circumstances. See below for conditions (if any) which will cause aNonFatalBuildException.No. default value is taken from the Rhino management parent task.
profilevalue
Assigns a value to a profile attribute. See
ProfileValueElementImplementation dependent.
NonFatalBuildException throw conditions-
Implementation dependent.
-
-
Field Summary
Fields Modifier and Type Field Description protected LinkedListattributes-
Fields inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
client, failOnError
-
-
Constructor Summary
Constructors Constructor Description ProfileValueBasedTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProfileValue(ProfileValueElement element)protected booleanhasAttributes()-
Methods inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
execute, getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError, validateParameters
-
-
-
-
Field Detail
-
attributes
protected LinkedList attributes
-
-
Method Detail
-
addProfileValue
public void addProfileValue(ProfileValueElement element)
-
hasAttributes
protected boolean hasAttributes()
-
-