Class LayerBuilder
- java.lang.Object
-
- org.opennms.features.topology.plugins.topo.asset.layers.LayerBuilder
-
public class LayerBuilder extends java.lang.Object
Allows building a generic layer.- Author:
- mvrueden
-
-
Constructor Summary
Constructors Constructor Description LayerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Layer
build()
LayerBuilder
withDescription(java.lang.String description)
LayerBuilder
withId(java.lang.String id)
LayerBuilder
withIdGenerator(IdGenerator idGenerator)
LayerBuilder
withItemProvider(ItemProvider itemProvider)
LayerBuilder
withLabel(java.lang.String label)
LayerBuilder
withNamespace(java.lang.String namespace)
LayerBuilder
withSemanticZoomLevel(int szl)
LayerBuilder
withVertexStatusProvider(boolean vertexStatusProvider)
-
-
-
Method Detail
-
withId
public LayerBuilder withId(java.lang.String id)
-
withNamespace
public LayerBuilder withNamespace(java.lang.String namespace)
-
withLabel
public LayerBuilder withLabel(java.lang.String label)
-
withSemanticZoomLevel
public LayerBuilder withSemanticZoomLevel(int szl)
-
withDescription
public LayerBuilder withDescription(java.lang.String description)
-
withItemProvider
public LayerBuilder withItemProvider(ItemProvider itemProvider)
-
withIdGenerator
public LayerBuilder withIdGenerator(IdGenerator idGenerator)
-
withVertexStatusProvider
public LayerBuilder withVertexStatusProvider(boolean vertexStatusProvider)
-
build
public Layer build()
-
-