public class BusinessServicesStatusProvider extends Object implements StatusProvider, EdgeStatusProvider
Constructor and Description |
---|
BusinessServicesStatusProvider() |
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.)
|
static Status |
getStatus(BusinessServiceStateMachine stateMachine,
AbstractBusinessServiceVertex vertex) |
static Status |
getStatus(BusinessServiceStateMachine stateMachine,
BusinessServiceEdge edge) |
Map<EdgeRef,Status> |
getStatusForEdges(BackendGraph graph,
Collection<EdgeRef> edges,
Criteria[] criteria) |
Map<VertexRef,Status> |
getStatusForVertices(BackendGraph graph,
Collection<VertexRef> vertices,
Criteria[] criteria) |
void |
setBusinessServiceManager(BusinessServiceManager businessServiceManager) |
public Map<VertexRef,Status> getStatusForVertices(BackendGraph graph, Collection<VertexRef> vertices, Criteria[] criteria)
getStatusForVertices
in interface StatusProvider
public Map<EdgeRef,Status> getStatusForEdges(BackendGraph graph, Collection<EdgeRef> edges, Criteria[] criteria)
getStatusForEdges
in interface EdgeStatusProvider
public static Status getStatus(BusinessServiceStateMachine stateMachine, AbstractBusinessServiceVertex vertex)
public static Status getStatus(BusinessServiceStateMachine stateMachine, BusinessServiceEdge edge)
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 void setBusinessServiceManager(BusinessServiceManager businessServiceManager)
Copyright © 2021. All rights reserved.