jonelo.jacksum.ui

Class Verbose


public class Verbose
extends java.lang.Object

This class stores the verbose states. It controls the output of Warnings and Details and wheather a summary is printed.

Constructor Summary

Verbose()
Constructs a verbose object.

Method Summary

boolean
getDetails()
Gets the details state.
boolean
getSummary()
Gets the summary state.
boolean
getWarnings()
Gets the warning state.
void
reset()
Resets all verbose states to a default.
void
setDetails(boolean details)
Sets the details state.
void
setSummary(boolean summary)
Sets the summary state.
void
setWarnings(boolean warnings)
Sets the warning state.

Constructor Details

Verbose

public Verbose()
Constructs a verbose object.

Method Details

getDetails

public boolean getDetails()
Gets the details state.
Returns:
are details wanted?

getSummary

public boolean getSummary()
Gets the summary state.
Returns:
is a summary wanted?

getWarnings

public boolean getWarnings()
Gets the warning state.
Returns:
are warnings wanted?

reset

public void reset()
Resets all verbose states to a default. Warnings and Details are enabled, Summary is disabled.

setDetails

public void setDetails(boolean details)
Sets the details state.
Parameters:
details - are details wanted?

setSummary

public void setSummary(boolean summary)
Sets the summary state.
Parameters:
summary - is a summary wanted?

setWarnings

public void setWarnings(boolean warnings)
Sets the warning state.
Parameters:
warnings - are warnings wanted?