org.apache.env
Class WhichConstant

java.lang.Object
  |
  +--org.apache.env.WhichConstant

public abstract class WhichConstant
extends java.lang.Object

Simple static constants used throughout org.apache.env package.

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

Field Summary
static java.lang.String[] ITEM_DESC
          Descriptive strings for ITEM_ constants; keep in sync.
static int ITEM_ERROR
          Item is Definite problem.
static int ITEM_NOTFOUND
          Item is Item was not found, but might be ok.
static int ITEM_OK
          Item is Version appears to be OK.
static int ITEM_SHIPPED
          Item is Provably a shipped version.
static int ITEM_UNKNOWN
          Item is Unknown, or don't care.
static int ITEM_WARNING
          Item is Possible problem.
static java.lang.String OPTION_STRICT
          Strict option asks Whichers to return an error if required classes, etc.
static java.lang.String OPTION_VERBOSE
          Verbose option asks Whichers to return extra info.
static java.lang.String TAG_ERROR
          Tag denoting a generic error occoured.
static java.lang.String TAG_HASHINFO
          Tag denoting a subhash of information is here.
static java.lang.String TAG_PATH
          Tag denoting the path to a file (.jar, etc.).
static java.lang.String TAG_STATUS
          Tag denoting the status of a WhichProject hash.
static java.lang.String TAG_VERSION
          Tag denoting version info follows.
 
Constructor Summary
WhichConstant()
           
 
Method Summary
static boolean isStrict(java.lang.String options)
          Check if options include strict.
static boolean isVerbose(java.lang.String options)
          Check if options include verbose.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ITEM_UNKNOWN

public static final int ITEM_UNKNOWN
Item is Unknown, or don't care.

See Also:
Constant Field Values

ITEM_SHIPPED

public static final int ITEM_SHIPPED
Item is Provably a shipped version.

See Also:
Constant Field Values

ITEM_OK

public static final int ITEM_OK
Item is Version appears to be OK.

See Also:
Constant Field Values

ITEM_NOTFOUND

public static final int ITEM_NOTFOUND
Item is Item was not found, but might be ok.

See Also:
Constant Field Values

ITEM_WARNING

public static final int ITEM_WARNING
Item is Possible problem.

See Also:
Constant Field Values

ITEM_ERROR

public static final int ITEM_ERROR
Item is Definite problem.

See Also:
Constant Field Values

ITEM_DESC

public static final java.lang.String[] ITEM_DESC
Descriptive strings for ITEM_ constants; keep in sync.


TAG_VERSION

public static final java.lang.String TAG_VERSION
Tag denoting version info follows.

See Also:
Constant Field Values

TAG_ERROR

public static final java.lang.String TAG_ERROR
Tag denoting a generic error occoured.

See Also:
Constant Field Values

TAG_HASHINFO

public static final java.lang.String TAG_HASHINFO
Tag denoting a subhash of information is here.

See Also:
Constant Field Values

TAG_PATH

public static final java.lang.String TAG_PATH
Tag denoting the path to a file (.jar, etc.).

See Also:
Constant Field Values

TAG_STATUS

public static final java.lang.String TAG_STATUS
Tag denoting the status of a WhichProject hash.

See Also:
Constant Field Values

OPTION_STRICT

public static final java.lang.String OPTION_STRICT
Strict option asks Whichers to return an error if required classes, etc. are not found.

See Also:
Constant Field Values

OPTION_VERBOSE

public static final java.lang.String OPTION_VERBOSE
Verbose option asks Whichers to return extra info.

See Also:
Constant Field Values
Constructor Detail

WhichConstant

public WhichConstant()
Method Detail

isStrict

public static boolean isStrict(java.lang.String options)
Check if options include strict.

Parameters:
options - from your method
Returns:
true if OPTION_STRICT is present

isVerbose

public static boolean isVerbose(java.lang.String options)
Check if options include verbose.

Parameters:
options - from your method
Returns:
true if OPTION_VERBOSE is present


Copyright 2001 Apache Software Foundation. All Rights Reserved.