public final class ConnectionManagerHelper
extends java.lang.Object
ConnectionManager of
ProM.| Modifier and Type | Method and Description |
|---|---|
static <T extends org.processmining.framework.connections.Connection> |
safeGetConnections(org.processmining.framework.connections.ConnectionManager connectionManager,
java.lang.Class<T> connectionType,
java.lang.Object... objects)
Returns a collection of connections between the objects specified, such
that the type of the connection is assignable from the given
connectionType.
|
static <T extends org.processmining.framework.connections.Connection> |
safeGetFirstConnection(org.processmining.framework.connections.ConnectionManager connectionManager,
java.lang.Class<T> connectionType,
java.lang.Object... objects)
Returns the first connection between the objects specified, such that the
type of the connection is assignable from the given connectionType.
|
public static <T extends org.processmining.framework.connections.Connection> java.util.Collection<T> safeGetConnections(org.processmining.framework.connections.ConnectionManager connectionManager,
java.lang.Class<T> connectionType,
java.lang.Object... objects)
Collection in case no connection
is available. Does NOT try to automatically create a connection.connectionManager - connectionType - objects - public static <T extends org.processmining.framework.connections.Connection> T safeGetFirstConnection(org.processmining.framework.connections.ConnectionManager connectionManager,
java.lang.Class<T> connectionType,
java.lang.Object... objects)
throws org.processmining.framework.connections.ConnectionCannotBeObtained
ConnectionCannotBeObtained in case no connection is available.
Does NOT try to automatically create a connection.connectionManager - connectionType - objects - org.processmining.framework.connections.ConnectionCannotBeObtained