org.apache.env
Class WhichAnt

java.lang.Object
  |
  +--org.apache.env.WhichAnt
All Implemented Interfaces:
WhichProject

public class WhichAnt
extends java.lang.Object
implements WhichProject

Get Version information about jakarta-ant.

Version:
$Id: WhichAnt.html,v 1.4 2003/12/30 03:55:19 crossley Exp $
Author:
shane_curcuru@us.ibm.com

Field Summary
static java.lang.String SERVICE_NAME
          Our project name.
 
Constructor Summary
WhichAnt()
           
 
Method Summary
 int getInfo(java.util.Hashtable hash, java.lang.String options)
          Calls getAntVersion and looks for ant.jar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
Our project name.

See Also:
Constant Field Values
Constructor Detail

WhichAnt

public WhichAnt()
Method Detail

getInfo

public int getInfo(java.util.Hashtable hash,
                   java.lang.String options)
Calls getAntVersion and looks for ant.jar.

Specified by:
getInfo in interface WhichProject
Parameters:
hash - to put information in
options - to apply like strict or verbose
Returns:
status information from WhichConstant


Copyright © 2001 Apache Software Foundation. All Rights Reserved.