|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object help.de.smartics.properties.core.PropertyKeyBuilder
public final class PropertyKeyBuilder
Builds instances of PropertyKey
s for tests.
Field Summary | |
---|---|
static String |
DEFAULT_FULL_NAME The full name including property set and name. |
static String |
DEFAULT_NAME A default name for tests. |
static String |
DEFAULT_PROPERTY_SET A default property set for tests. |
Method Summary | |
---|---|
static PropertyKeyBuilder |
a() Creates a builder filled with default values. |
PropertyKey |
build() Creates the instance. |
PropertyKeyBuilder |
but() Clones the builder. |
static PropertyKey |
defaultPropertyKey() Creates a default instance filled with default values. |
PropertyKeyBuilder |
withName(String name) Returns the name of the property. |
PropertyKeyBuilder |
withPropertySet(String propertySet) Sets the name of the set the property belongs to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_PROPERTY_SET
"test.property.set"
public static final String DEFAULT_NAME
"testName"
public static final String DEFAULT_FULL_NAME
"test.property.set.testName"
Method Detail |
---|
public PropertyKeyBuilder withPropertySet(String propertySet)
propertySet
- the name of the set the property belongs to.
public PropertyKeyBuilder withName(String name)
name
- the name of the property.
public static PropertyKey defaultPropertyKey()
DEFAULT_PROPERTY_SET
,
DEFAULT_NAME
public static PropertyKeyBuilder a()
DEFAULT_PROPERTY_SET
,
DEFAULT_NAME
public PropertyKeyBuilder but()
public PropertyKey build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |