Class Configuration

java.lang.Object
org.jbehave.core.configuration.Configuration
Direct Known Subclasses:
MostUsefulConfiguration, UnmodifiableConfiguration

public abstract class Configuration extends Object

Provides the configuration used by the Embedder and the in the Embeddable implementations to customise its runtime properties.

Configuration implements a Builder pattern so that each element of the configuration can be specified individually, and read well. All elements have default values, which can be overridden by the "use" methods. The "use" methods allow to override the dependencies one by one and play nicer with a Java hierarchical structure, in that does allow the use of non-static member variables.