|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The context in which a processor runs. The processor should check this to discover what level of DEBUG output and histograms to produce, as well as where to write output, and what Random number generator to use. AbstractProcessor wraps this in some convenience routines to make access a little easier.
Processor
,
AbstractProcessor
Field Summary | |
static int |
LEVEL_HIGH
High level of output or histograms should be produced |
static int |
LEVEL_LOW
Low level of output or histograms should be produced |
static int |
LEVEL_MEDIUM
Medium level of output or histograms should be produced |
static int |
LEVEL_NONE
No output or histogram should be produced |
Method Summary | |
int |
getDebugLevel()
Get the level of debug output requested |
PrintWriter |
getDebugStream()
Get the stream to which debug output should be written |
int |
getHistogramLevel()
Get the level of histogram output requested |
Reader |
getParameterFile(String name)
|
PropertySet |
getParameters(String name)
Get the named parameters from the constants system |
Random |
getRandom()
Get the random number generator to be used |
Histogram |
histogram(String name)
Used for filling named histograms |
Field Detail |
public static final int LEVEL_NONE
public static final int LEVEL_LOW
public static final int LEVEL_MEDIUM
public static final int LEVEL_HIGH
Method Detail |
public PrintWriter getDebugStream()
public int getDebugLevel()
public int getHistogramLevel()
public Histogram histogram(String name)
public Random getRandom()
public PropertySet getParameters(String name)
The
- name of the parameters to getpublic Reader getParameterFile(String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |