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
BuildException
when an error is encountered. If 'false', the sub task will throw aNonFatalBuildException
instead of aBuildException
under 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
ProfileValueElement
Implementation dependent.
NonFatalBuildException throw conditions-
Implementation dependent.
-
-
Field Summary
Fields Modifier and Type Field Description protected LinkedList
attributes
-
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 void
addProfileValue(ProfileValueElement element)
protected boolean
hasAttributes()
-
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()
-
-