|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object help.de.smartics.properties.core.PropertyCommentBuilder
public final class PropertyCommentBuilder
Builds instances of PropertyComment
s for tests.
Field Summary | |
---|---|
static String |
DEFAULT_PROPERTY_COMMENT |
Method Summary | |
---|---|
static PropertyCommentBuilder |
a() Creates a builder filled with default values. |
PropertyComment |
build() Creates the instance. |
PropertyCommentBuilder |
but() Clones the builder. |
static PropertyComment |
defaultPropertyComment() Creates a default instance filled with default values. |
PropertyCommentBuilder |
with(PropertyValueComment valueComment) Returns the name of the property. |
PropertyCommentBuilder |
withText(String text) Sets the text of the comment. |
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_COMMENT
"Default property comment."
Method Detail |
---|
public PropertyCommentBuilder withText(String text)
propertySet
- the text of the comment.
public PropertyCommentBuilder with(PropertyValueComment valueComment)
name
- the name of the property.
public static PropertyComment defaultPropertyComment()
a()
public static PropertyCommentBuilder a()
DEFAULT_PROPERTY_COMMENT
,
PropertyValueCommentBuilder.defaultValueComment()
public PropertyCommentBuilder but()
public PropertyComment build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |