Java Doc for ConditionBase.java in  » Build » ANT » org » apache » tools » ant » taskdefs » condition » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Build » ANT » org.apache.tools.ant.taskdefs.condition 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.taskdefs.condition.ConditionBase

All known Subclasses:   org.apache.tools.ant.taskdefs.condition.And,  org.apache.tools.ant.taskdefs.WaitFor,  org.apache.tools.ant.taskdefs.ConditionTask,  org.apache.tools.ant.taskdefs.condition.Or,  org.apache.tools.ant.taskdefs.condition.Xor,  org.apache.tools.ant.taskdefs.condition.Not,
ConditionBase
abstract public class ConditionBase extends ProjectComponent implements DynamicElement(Code)
Baseclass for the <condition> task as well as several conditions - ensures that the types of conditions inside the task and the "container" conditions are in sync.
since:
   Ant 1.4



Constructor Summary
protected  ConditionBase()
     Simple constructor.
protected  ConditionBase(String taskName)
     Constructor that takes the name of the task in the task name.

Method Summary
public  voidadd(Condition c)
    
public  voidaddAnd(And a)
     Add an <and> condition "container".
public  voidaddAvailable(Available a)
     Add an <available> condition.
public  voidaddChecksum(Checksum c)
     Add an <checksum> condition.
public  voidaddContains(Contains test)
     Add a <contains> condition.
public  voidaddEquals(Equals e)
     Add an <equals> condition.
public  voidaddFilesMatch(FilesMatch test)
     Add a <filesmatch> condition.
public  voidaddHttp(Http h)
     Add an <http> condition.
public  voidaddIsFalse(IsFalse test)
     Add a <isfalse> condition.
public  voidaddIsFileSelected(IsFileSelected test)
     Add an <isfileselected> condition.
public  voidaddIsReference(IsReference i)
     Add an <isreference> condition.
public  voidaddIsSet(IsSet i)
     Add an <isset> condition.
public  voidaddIsTrue(IsTrue test)
     Add a <istrue> condition.
public  voidaddNot(Not n)
     Add an <not> condition "container".
public  voidaddOr(Or o)
     Add an <or> condition "container".
public  voidaddOs(Os o)
     Add an <os> condition.
public  voidaddSocket(Socket s)
     Add a <socket> condition.
public  voidaddUptodate(UpToDate u)
     Add an <uptodate> condition.
protected  intcountConditions()
     Count the conditions.
public  ObjectcreateDynamicElement(String name)
     Create a dynamically discovered condition.
final protected  EnumerationgetConditions()
     Iterate through all conditions.
public  StringgetTaskName()
     Returns the name to use in logging messages.
public  voidsetTaskName(String name)
     Sets the name to use in logging messages.


Constructor Detail
ConditionBase
protected ConditionBase()(Code)
Simple constructor.



ConditionBase
protected ConditionBase(String taskName)(Code)
Constructor that takes the name of the task in the task name.
Parameters:
  taskName - the name of the task.
since:
   Ant 1.7




Method Detail
add
public void add(Condition c)(Code)
Add an arbitrary condition
Parameters:
  c - a condition
since:
   Ant 1.6



addAnd
public void addAnd(And a)(Code)
Add an <and> condition "container".
Parameters:
  a - an And condition
since:
   1.1



addAvailable
public void addAvailable(Available a)(Code)
Add an <available> condition.
Parameters:
  a - an available condition
since:
   1.1



addChecksum
public void addChecksum(Checksum c)(Code)
Add an <checksum> condition.
Parameters:
  c - a Checksum condition
since:
   1.4, Ant 1.5



addContains
public void addContains(Contains test)(Code)
Add a <contains> condition.
Parameters:
  test - a Contains condition
since:
   Ant 1.5



addEquals
public void addEquals(Equals e)(Code)
Add an <equals> condition.
Parameters:
  e - an Equals condition
since:
   1.1



addFilesMatch
public void addFilesMatch(FilesMatch test)(Code)
Add a <filesmatch> condition.
Parameters:
  test - a FilesMatch condition
since:
   Ant 1.5



addHttp
public void addHttp(Http h)(Code)
Add an <http> condition.
Parameters:
  h - an Http condition
since:
   Ant 1.5



addIsFalse
public void addIsFalse(IsFalse test)(Code)
Add a <isfalse> condition.
Parameters:
  test - an IsFalse condition
since:
   Ant 1.5



addIsFileSelected
public void addIsFileSelected(IsFileSelected test)(Code)
Add an <isfileselected> condition.
Parameters:
  test - the condition



addIsReference
public void addIsReference(IsReference i)(Code)
Add an <isreference> condition.
Parameters:
  i - an IsReference condition
since:
   Ant 1.6



addIsSet
public void addIsSet(IsSet i)(Code)
Add an <isset> condition.
Parameters:
  i - an IsSet condition
since:
   Ant 1.5



addIsTrue
public void addIsTrue(IsTrue test)(Code)
Add a <istrue> condition.
Parameters:
  test - an IsTrue condition
since:
   Ant 1.5



addNot
public void addNot(Not n)(Code)
Add an <not> condition "container".
Parameters:
  n - a Not condition
since:
   1.1



addOr
public void addOr(Or o)(Code)
Add an <or> condition "container".
Parameters:
  o - an Or condition
since:
   1.1



addOs
public void addOs(Os o)(Code)
Add an <os> condition.
Parameters:
  o - an Os condition
since:
   1.1



addSocket
public void addSocket(Socket s)(Code)
Add a <socket> condition.
Parameters:
  s - a Socket condition
since:
   Ant 1.5



addUptodate
public void addUptodate(UpToDate u)(Code)
Add an <uptodate> condition.
Parameters:
  u - an UpToDate condition
since:
   1.1



countConditions
protected int countConditions()(Code)
Count the conditions. the number of conditions in the container
since:
   1.1



createDynamicElement
public Object createDynamicElement(String name)(Code)
Create a dynamically discovered condition. Built-in conditions can be discovered from the org.apache.tools.ant.taskdefs.condition antlib.
Parameters:
  name - the condition to create. the dynamic condition if found, null otherwise.



getConditions
final protected Enumeration getConditions()(Code)
Iterate through all conditions. an enumeration to use for iteration
since:
   1.1



getTaskName
public String getTaskName()(Code)
Returns the name to use in logging messages. the name to use in logging messages.
since:
   Ant 1.7



setTaskName
public void setTaskName(String name)(Code)
Sets the name to use in logging messages.
Parameters:
  name - The name to use in logging messages.Should not be null.
since:
   Ant 1.7



Fields inherited from org.apache.tools.ant.ProjectComponent
protected String description(Code)(Java Doc)
protected Location location(Code)(Java Doc)
protected Project project(Code)(Java Doc)

Methods inherited from org.apache.tools.ant.ProjectComponent
public Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public String getDescription()(Code)(Java Doc)
public Location getLocation()(Code)(Java Doc)
public Project getProject()(Code)(Java Doc)
public void log(String msg)(Code)(Java Doc)
public void log(String msg, int msgLevel)(Code)(Java Doc)
public void setDescription(String desc)(Code)(Java Doc)
public void setLocation(Location location)(Code)(Java Doc)
public void setProject(Project project)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.