Class TopologyLinkBuilder
- java.lang.Object
-
- org.opennms.features.topology.link.TopologyLinkBuilder
-
public class TopologyLinkBuilder extends Object
Helper class to correctly build a link to the Topology UI.- Author:
- mvrueden.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAMETER_FOCUS_VERTICES
static String
PARAMETER_GRAPH_PROVIDER
static String
PARAMETER_LAYER_NAMESPACE
static String
PARAMETER_LAYOUT
static String
PARAMETER_SEMANTIC_ZOOM_LEVEL
-
Constructor Summary
Constructors Constructor Description TopologyLinkBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopologyLinkBuilder
focus(String... vertexId)
TopologyLinkBuilder
focus(List<String> vertexIds)
String
getLink()
TopologyLinkBuilder
layer(String namespace)
TopologyLinkBuilder
layout(String layoutString)
TopologyLinkBuilder
layout(Layout layout)
TopologyLinkBuilder
provider(TopologyProvider provider)
TopologyLinkBuilder
szl(int szl)
-
-
-
Field Detail
-
PARAMETER_LAYOUT
public static final String PARAMETER_LAYOUT
- See Also:
- Constant Field Values
-
PARAMETER_FOCUS_VERTICES
public static final String PARAMETER_FOCUS_VERTICES
- See Also:
- Constant Field Values
-
PARAMETER_SEMANTIC_ZOOM_LEVEL
public static final String PARAMETER_SEMANTIC_ZOOM_LEVEL
- See Also:
- Constant Field Values
-
PARAMETER_GRAPH_PROVIDER
public static final String PARAMETER_GRAPH_PROVIDER
- See Also:
- Constant Field Values
-
PARAMETER_LAYER_NAMESPACE
public static final String PARAMETER_LAYER_NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
layout
public TopologyLinkBuilder layout(String layoutString)
-
layout
public TopologyLinkBuilder layout(Layout layout)
-
focus
public TopologyLinkBuilder focus(String... vertexId)
-
focus
public TopologyLinkBuilder focus(List<String> vertexIds)
-
szl
public TopologyLinkBuilder szl(int szl)
-
provider
public TopologyLinkBuilder provider(TopologyProvider provider)
-
layer
public TopologyLinkBuilder layer(String namespace)
-
getLink
public String getLink()
-
-