org.apache.tools.ant.taskdefs.optional.testing

Class BlockFor

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class BlockFor
    extends WaitFor
    Since:
    Ant 1.8
    • Constructor Detail

      • BlockFor

        public BlockFor()
        Constructor that takes the name of the task in the task name.
      • BlockFor

        public BlockFor(java.lang.String taskName)
        Constructor that takes the name of the task in the task name.
        Parameters:
        taskName - the name of the task.
    • Method Detail

      • addText

        public void addText(java.lang.String message)
        Set the error text; all properties are expanded in the message.
        Parameters:
        message - the text to use in a failure message