|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object help.de.smartics.properties.core.PropertyContextBuilder
public final class PropertyContextBuilder
Builds instances of PropertyContext
s for tests.
Method Summary | |
---|---|
static PropertyContextBuilder |
a() Creates a builder filled with default values. |
PropertyContext |
build() Creates the instance. |
PropertyContextBuilder |
but() Clones the builder. |
static PropertyContext |
defaultPropertyContext() Creates a default instance filled with default values. |
PropertyContextBuilder |
with(PropertiesContext propertiesContext) Sets the context of the properties. |
PropertyContextBuilder |
with(PropertyDescriptor descriptor) Sets the descriptor of the property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public PropertyContextBuilder with(PropertiesContext propertiesContext)
propertiesContext
- the context of the properties.
public PropertyContextBuilder with(PropertyDescriptor descriptor)
descriptor
- the descriptor of the property.
public static PropertyContext defaultPropertyContext()
a()
public static PropertyContextBuilder a()
PropertiesContextBuilder.defaultPropertiesContext()
,
PropertyDescriptorBuilder.defaultPropertyDescriptor()
public PropertyContextBuilder but()
public PropertyContext build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |