org.apache.env

Class WhichConstant

public abstract class WhichConstant extends Object

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

Version: $Id: WhichConstant.java 225939 2001-12-11 17:42:50Z curcuru $

Author: shane_curcuru@us.ibm.com

Field Summary
static String[]ITEM_DESC
Descriptive strings for ITEM_ constants; keep in sync.
static intITEM_ERROR
Item is Definite problem.
static intITEM_NOTFOUND
Item is Item was not found, but might be ok.
static intITEM_OK
Item is Version appears to be OK.
static intITEM_SHIPPED
Item is Provably a shipped version.
static intITEM_UNKNOWN
Item is Unknown, or don't care.
static intITEM_WARNING
Item is Possible problem.
static StringOPTION_STRICT
Strict option asks Whichers to return an error if required classes, etc. are not found.
static StringOPTION_VERBOSE
Verbose option asks Whichers to return extra info.
static StringTAG_ERROR
Tag denoting a generic error occoured.
static StringTAG_HASHINFO
Tag denoting a subhash of information is here.
static StringTAG_PATH
Tag denoting the path to a file (.jar, etc.).
static StringTAG_STATUS
Tag denoting the status of a WhichProject hash.
static StringTAG_VERSION
Tag denoting version info follows.
Method Summary
static booleanisStrict(String options)
Check if options include strict.
static booleanisVerbose(String options)
Check if options include verbose.

Field Detail

ITEM_DESC

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

ITEM_ERROR

public static final int ITEM_ERROR
Item is Definite problem.

ITEM_NOTFOUND

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

ITEM_OK

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

ITEM_SHIPPED

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

ITEM_UNKNOWN

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

ITEM_WARNING

public static final int ITEM_WARNING
Item is Possible problem.

OPTION_STRICT

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

OPTION_VERBOSE

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

TAG_ERROR

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

TAG_HASHINFO

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

TAG_PATH

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

TAG_STATUS

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

TAG_VERSION

public static final String TAG_VERSION
Tag denoting version info follows.

Method Detail

isStrict

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

Parameters: options from your method

Returns: true if OPTION_STRICT is present

isVerbose

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

Parameters: options from your method

Returns: true if OPTION_VERBOSE is present

Copyright B) 2001 Apache. All Rights Reserved.