public class GraphMLScriptVertexStatusProvider extends Object implements StatusProvider
Constructor and Description |
---|
GraphMLScriptVertexStatusProvider(String namespace,
AlarmSummaryWrapper alarmSummaryWrapper,
ScriptEngineManager scriptEngineManager,
GraphMLServiceAccessor serviceAccessor) |
GraphMLScriptVertexStatusProvider(String namespace,
AlarmSummaryWrapper alarmSummaryWrapper,
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.)
|
Map<? extends VertexRef,? extends Status> |
getStatusForVertices(VertexProvider vertexProvider,
Collection<VertexRef> vertices,
Criteria[] criteria) |
public GraphMLScriptVertexStatusProvider(String namespace, AlarmSummaryWrapper alarmSummaryWrapper, ScriptEngineManager scriptEngineManager, GraphMLServiceAccessor serviceAccessor, Path scriptPath)
public GraphMLScriptVertexStatusProvider(String namespace, AlarmSummaryWrapper alarmSummaryWrapper, ScriptEngineManager scriptEngineManager, GraphMLServiceAccessor serviceAccessor)
public Map<? extends VertexRef,? extends Status> getStatusForVertices(VertexProvider vertexProvider, Collection<VertexRef> vertices, Criteria[] criteria)
getStatusForVertices
in interface StatusProvider
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
.Copyright © 2018. All rights reserved.