Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.jk.ant
Class Def  view Def download Def.java

java.lang.Object
  extended byorg.apache.jk.ant.Def

public class Def
extends java.lang.Object

Define name/value, value is optional The define will take place if the condition is met. A task should include all the defines it supports, with the default value. This allows the builder to customize without having to look at the source.


Field Summary
(package private)  java.lang.String ifCond
           
(package private)  java.lang.String info
           
(package private)  java.lang.String name
           
(package private)  org.apache.tools.ant.Project project
           
(package private)  java.lang.String unlessCond
           
(package private)  java.lang.String value
           
 
Constructor Summary
Def()
           
 
Method Summary
 java.lang.String getName()
          Return the name of the define, or null if the define is not valid ( if/unless conditions )
 java.lang.String getValue()
           
 void setIf(java.lang.String ifCond)
           
 void setInfo(java.lang.String n)
          Informations about the option
 void setName(java.lang.String n)
           
 void setProject(org.apache.tools.ant.Project p)
           
 void setUnless(java.lang.String unlessCond)
           
 void setValue(java.lang.String v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

java.lang.String name

info

java.lang.String info

value

java.lang.String value

ifCond

java.lang.String ifCond

unlessCond

java.lang.String unlessCond

project

org.apache.tools.ant.Project project
Constructor Detail

Def

public Def()
Method Detail

setProject

public void setProject(org.apache.tools.ant.Project p)

setName

public void setName(java.lang.String n)

setValue

public void setValue(java.lang.String v)

setIf

public void setIf(java.lang.String ifCond)

setUnless

public void setUnless(java.lang.String unlessCond)

setInfo

public void setInfo(java.lang.String n)
Informations about the option


getName

public java.lang.String getName()
Return the name of the define, or null if the define is not valid ( if/unless conditions )


getValue

public java.lang.String getValue()