Configuration
public class SystemPropertyConfiguration extends Object implements Configuration
Constructor | Description |
---|---|
SystemPropertyConfiguration() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
colorHighlighting() |
|
boolean |
debug() |
|
boolean |
debugEvents() |
Returns true if debug messages will be produced for event activity (i.e.
|
boolean |
debugExecution() |
Returns true if debug messages will be produced for event activity (i.e.
|
boolean |
debugParallel() |
|
boolean |
debugScope() |
Returns true if debug messages will be produced for scope activity (i.e.
|
boolean |
failFast() |
Returns true if Dollar should stop on error (much like BASH's set -e)
|
void |
failFast(boolean failFast) |
|
boolean |
production() |
Returns true if we're running in a production environment
|
boolean |
wrapForGuards() |
Returns true if values are being wrapped with safety guards to avoid nulls etc.
|
boolean |
wrapForMonitoring() |
True if
Value objects are being wrapped for monitoring. |
public boolean debug()
debug
in interface Configuration
public boolean debugScope()
Configuration
debugScope
in interface Configuration
public boolean debugEvents()
Configuration
debugEvents
in interface Configuration
public boolean debugExecution()
Configuration
debugExecution
in interface Configuration
public boolean failFast()
Configuration
failFast
in interface Configuration
public void failFast(boolean failFast)
failFast
in interface Configuration
public boolean production()
Configuration
production
in interface Configuration
public boolean wrapForGuards()
Configuration
wrapForGuards
in interface Configuration
public boolean wrapForMonitoring()
Configuration
Value
objects are being wrapped for monitoring. This includes metrics and trace
analysis.wrapForMonitoring
in interface Configuration
public boolean debugParallel()
debugParallel
in interface Configuration
public boolean colorHighlighting()
colorHighlighting
in interface Configuration
Copyright © 2017. All rights reserved.