public class GraphMLEdgeStatusProvider extends Object implements EdgeStatusProvider
Constructor and Description |
---|
GraphMLEdgeStatusProvider(GraphMLTopologyProvider provider,
ScriptEngineManager scriptEngineManager,
GraphMLServiceAccessor serviceAccessor) |
GraphMLEdgeStatusProvider(GraphMLTopologyProvider provider,
ScriptEngineManager scriptEngineManager,
GraphMLServiceAccessor serviceAccessor,
Path scriptPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
contributesTo(String namespace)
Defines if the current implementation contributes to the given namespace.
|
String |
getNamespace()
A string used to identify references belonging to this provider
May only contain characters that make for a reasonable Java identifier
such as letters digits and underscore (no colons, periods, commas etc.)
|
Path |
getScriptPath() |
Map<EdgeRef,Status> |
getStatusForEdges(EdgeProvider edgeProvider,
Collection<EdgeRef> edges,
Criteria[] criteria) |
public GraphMLEdgeStatusProvider(GraphMLTopologyProvider provider, ScriptEngineManager scriptEngineManager, GraphMLServiceAccessor serviceAccessor, Path scriptPath)
public GraphMLEdgeStatusProvider(GraphMLTopologyProvider provider, ScriptEngineManager scriptEngineManager, GraphMLServiceAccessor serviceAccessor)
public Map<EdgeRef,Status> getStatusForEdges(EdgeProvider edgeProvider, Collection<EdgeRef> edges, Criteria[] criteria)
getStatusForEdges
in interface EdgeStatusProvider
public String getNamespace()
NamespaceAware
getNamespace
in interface NamespaceAware
public boolean contributesTo(String namespace)
NamespaceAware
NamespaceAware.getNamespace()
, but is not a requirement.contributesTo
in interface NamespaceAware
namespace
- the namespace to contribute totrue
, if the current implementation contributes to the given namespace, otherwise false
.public Path getScriptPath()
Copyright © 2017. All rights reserved.