returnthe valuethrowsBuildException if someone forgot to spec a value if (value == null) { throw new BuildException("Nothing to test for truth"); } return value.booleanValue();
if (value == null) { throw new BuildException("Nothing to test for truth"); } return value.booleanValue();
set the value to be tested; let ant eval it to true/falseparamvalue the value to test this.value = value ? Boolean.TRUE : Boolean.FALSE;
this.value = value ? Boolean.TRUE : Boolean.FALSE;