public class EDAEventTypeStoreUtils
extends java.lang.Object
Constructor and Description |
---|
EDAEventTypeStoreUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<EDAArtifactID> |
getArtifactDependencies(EDAEventTypeStore eventTypeStore,
EDAArtifactID artifact)
Returns a collection of all event types and fragments referenced by the specified artifact.
|
static java.util.Collection<EDAArtifactID> |
getDependentArtifacts(EDAEventTypeStore eventTypeStore,
EDAArtifactID dependency)
Returns a collection of all event types and fragments which depends on the specified artifact.
|
static boolean |
isEventType(EDAEventTypeStore eventTypeStore,
EDAArtifactID artifact)
Checks whether the specified EDA artifact is an Event Type
|
public static java.util.Collection<EDAArtifactID> getArtifactDependencies(EDAEventTypeStore eventTypeStore, EDAArtifactID artifact) throws EDAEventTypeStoreException
eventTypeStore
- an event type store where to look up the referenced artifactsartifact
- an artifact referencing other artifactsEDAEventTypeStoreException
public static java.util.Collection<EDAArtifactID> getDependentArtifacts(EDAEventTypeStore eventTypeStore, EDAArtifactID dependency) throws EDAEventTypeStoreException
eventTypeStore
- an event type store where to look up the artifactsdependency
- an artifact referenced by other artifactsEDAEventTypeStoreException
public static boolean isEventType(EDAEventTypeStore eventTypeStore, EDAArtifactID artifact) throws EDAEventTypeStoreException
eventTypeStore
- an event type store where to look up the artifactsartifact
- EDAEventTypeStoreException