|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.gant.GantState
public class GantState
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.
Field Summary | |
---|---|
static int |
DEBUG
Output huge amounts of information about what is going on. |
static boolean |
dryRun
Whether this is a dry drun, i.e. |
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 |
verbosity
The current state of the verbosity of execution -- default is NORMAL . |
static int |
WARNINGS_AND_ERRORS
Output only the meagrest of information. |
Constructor Summary | |
---|---|
private |
GantState()
We never want an instance of this class, so the constructor is made private. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SILENT
public static final int ERRORS_ONLY
public static final int WARNINGS_AND_ERRORS
public static final int NORMAL
public static final int VERBOSE
public static final int DEBUG
public static int verbosity
NORMAL
.
public static boolean dryRun
Constructor Detail |
---|
private GantState()
|
Copyright © 2006–9 The Codehaus. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |