Class LinksAppearance.Builder
java.lang.Object
com.sodius.oslc.server.process.model.LinksAppearance.Builder
- Enclosing class:
LinksAppearance
The
LinksAppearance builder class.-
Method Summary
Modifier and TypeMethodDescriptionCreates a new attribute.Creates a new attribute.build()Creates theLinksAppearanceinstance.Adds anicon decoratorto the current attribute.Adds a property to the current attribute.Adds atag decoratorto the current attribute.
-
Method Details
-
property
Adds a property to the current attribute.- Parameters:
property- the property to add.- Returns:
- this builder instance.
-
tag
Adds atag decoratorto the current attribute.- Parameters:
identifier- decorator's identifier.source- the name/class of the tag to decorate the link.label- decorator's label.- Returns:
- this builder instance.
-
icon
Adds anicon decoratorto the current attribute.- Parameters:
identifier- decorator's identifier.source- the icon URI to decorate the link.label- decorator's label.- Returns:
- this builder instance.
-
attribute
Creates a new attribute.- Parameters:
title- attribute's title.comment- attribute's comment.- Returns:
- this builder instance.
-
attribute
Creates a new attribute.- Parameters:
title- attribute's title.- Returns:
- this builder instance.
-
build
Creates theLinksAppearanceinstance.- Returns:
- the built instance.
-