com.tngtech.jgiven.impl
Class Config

java.lang.Object
  extended by com.tngtech.jgiven.impl.Config

public class Config
extends java.lang.Object

Helper class to access all system properties to configure JGiven.


Constructor Summary
Config()
           
 
Method Summary
static Config config()
           
 com.google.common.base.Optional<java.io.File> getReportDir()
           
 boolean isReportEnabled()
           
 void setReportEnabled(boolean enabled)
           
 void setTextReport(boolean b)
           
 boolean textColorEnabled()
           
 boolean textReport()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config()
Method Detail

config

public static Config config()

isReportEnabled

public boolean isReportEnabled()

setReportEnabled

public void setReportEnabled(boolean enabled)

getReportDir

public com.google.common.base.Optional<java.io.File> getReportDir()

textColorEnabled

public boolean textColorEnabled()

textReport

public boolean textReport()

setTextReport

public void setTextReport(boolean b)