Gant 1.9.6

org.codehaus.gant
[Java] Class GantState

java.lang.Object
  org.codehaus.gant.GantState

public class GantState
extends java.lang.Object

A class to hold the shared global state for a run of Gant, also a variety of general-use constants are defined here.

This class was originally needed because parts of Gant are written in Java and parts in Groovy and it was not possible to compile them all at the same time. All references to Groovy classes had to be avoided in the Java classes so that the Java could be compiled and then the Groovy compiled. This class contains things that should be in the Gant class but could not be. All this is no longer true, so the material could go back into the Gant class.

Authors:
Russel Winder


Field Summary
static int DEBUG

Output huge amounts of information about what is going on.

static int ERRORS_ONLY

Output only information about errors.

static int NORMAL

Output information about which task is executing, and other things.

static int SILENT

Output no information ever.

static int VERBOSE

Output lots of information about what is going on.

static int WARNINGS_AND_ERRORS

Output only the meagrest of information.

static boolean dryRun

Whether this is a dry drun, i.e. no actual execution occur.

static int verbosity

The current state of the verbosity of execution -- default is NORMAL.

 
Method Summary
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

DEBUG

public static final int DEBUG
Output huge amounts of information about what is going on.


ERRORS_ONLY

public static final int ERRORS_ONLY
Output only information about errors.


NORMAL

public static final int NORMAL
Output information about which task is executing, and other things.


SILENT

public static final int SILENT
Output no information ever.


VERBOSE

public static final int VERBOSE
Output lots of information about what is going on.


WARNINGS_AND_ERRORS

public static final int WARNINGS_AND_ERRORS
Output only the meagrest of information.


dryRun

public static boolean dryRun
Whether this is a dry drun, i.e. no actual execution occur.


verbosity

public static int verbosity
The current state of the verbosity of execution -- default is NORMAL.


 

Copyright © 2006–9 The Codehaus. All Rights Reserved.