public class GantState
extends java.lang.Object
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.
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
private |
GantState()
We never want an instance of this class, so the constructor is made private.
|
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