Class DefaultValue


  • public class DefaultValue
    extends java.lang.Object
    Provides a means of specifying default values for the jsap task containing <default> elements. For detailed information on using the jsap task, see the documentation for JSAPAntTask.
    Author:
    Marty Lamb
    See Also:
    JSAPAntTask
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultValue()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addText​(java.lang.String text)
      Sets the default value.
      java.lang.String getValue()
      Returns the default value.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultValue

        public DefaultValue()
    • Method Detail

      • addText

        public void addText​(java.lang.String text)
        Sets the default value.
        Parameters:
        text - the default value.
      • getValue

        public java.lang.String getValue()
        Returns the default value.
        Returns:
        the default value.