FreeHEP API
Version v1.2.2

org.freehep.ant
Class FreeHepDefined

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.freehep.ant.FreeHepDefined
Direct Known Subclasses:
FreeHepNotDefined

public class FreeHepDefined
extends org.apache.tools.ant.Task

Checks if a property is defined and executes its target, or throws a message if specified.

Version:
$Id: FreeHepDefined.java,v 1.2 2000/10/19 12:02:13 duns Exp $
Author:
Mark Donszelmann

Field Summary
protected  String message
           
protected  String property
           
protected  String target
           
 
Fields inherited from class org.apache.tools.ant.Task
description, location, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
FreeHepDefined()
           
 
Method Summary
 void execute()
           
 void setMessage(String str)
           
 void setProperty(String str)
           
 void setTarget(String str)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

property

protected String property

message

protected String message

target

protected String target
Constructor Detail

FreeHepDefined

public FreeHepDefined()
Method Detail

setProperty

public void setProperty(String str)

setMessage

public void setMessage(String str)

setTarget

public void setTarget(String str)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.