Class 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 a NonFatalBuildException instead of a BuildException under specific circumstances. See below for conditions (if any) which will cause a NonFatalBuildException.

    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.

    • Constructor Detail

      • ProfileValueBasedTask

        public ProfileValueBasedTask()
    • Method Detail

      • hasAttributes

        protected boolean hasAttributes()