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.
$Id: WhichConstant.java,v 1.1 2001/12/11 17:42:50 curcuru Exp $static 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 String | OPTION_STRICT - Strict option asks Whichers to return an error if
required classes, etc.
|
static String | OPTION_VERBOSE - Verbose option asks Whichers to return extra info.
|
static String | TAG_ERROR - Tag denoting a generic error occoured.
|
static String | TAG_HASHINFO - Tag denoting a subhash of information is here.
|
static String | TAG_PATH - Tag denoting the path to a file (.jar, etc.).
|
static String | TAG_STATUS - Tag denoting the status of a WhichProject hash.
|
static String | TAG_VERSION - Tag denoting version info follows.
|
static boolean | isStrict(String options) - Check if options include strict.
|
static boolean | isVerbose(String options) - Check if options include verbose.
|
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.
isStrict
public static boolean isStrict(String options)
Check if options include strict.
options
- from your method
- true if OPTION_STRICT is present
isVerbose
public static boolean isVerbose(String options)
Check if options include verbose.
options
- from your method
- true if OPTION_VERBOSE is present
Copyright B) 2001 Apache. All Rights Reserved.