Uses of Interface
org.processmining.framework.plugin.PluginContext
-
-
Uses of PluginContext in org.processmining.framework.abstractplugins
Methods in org.processmining.framework.abstractplugins with parameters of type PluginContext Modifier and Type Method Description java.lang.Object
AbstractImportPlugin. importFile(PluginContext context, java.io.File f)
java.lang.Object
AbstractImportPlugin. importFile(PluginContext context, java.lang.String filename)
java.lang.Object
AbstractImportPlugin. importFile(PluginContext context, java.net.URI uri)
java.lang.Object
AbstractImportPlugin. importFile(PluginContext context, java.net.URL url)
java.lang.Object
ImportPlugin. importFile(PluginContext context, java.io.File f)
java.lang.Object
ImportPlugin. importFile(PluginContext context, java.lang.String filename)
java.lang.Object
ImportPlugin. importFile(PluginContext context, java.net.URI uri)
java.lang.Object
ImportPlugin. importFile(PluginContext context, java.net.URL url)
protected abstract java.lang.Object
AbstractImportPlugin. importFromStream(PluginContext context, java.io.InputStream input, java.lang.String filename, long fileSizeInBytes)
This method is called by all plugin variants to do the actual importing. -
Uses of PluginContext in org.processmining.framework.connections
Methods in org.processmining.framework.connections with parameters of type PluginContext Modifier and Type Method Description <T extends Connection>
java.util.Collection<T>ConnectionManager. getConnections(java.lang.Class<T> connectionType, PluginContext context, 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 (unless the parameter equals null).<T extends Connection>
TConnectionManager. getFirstConnection(java.lang.Class<T> connectionType, PluginContext context, java.lang.Object... objects)
Returns a connection between the objects specified, such that the type of the connection is assignable from the given connectionType (unless the parameter equals null). -
Uses of PluginContext in org.processmining.framework.connections.impl
Methods in org.processmining.framework.connections.impl with parameters of type PluginContext Modifier and Type Method Description <T extends Connection>
java.util.Collection<T>ConnectionManagerImpl. getConnections(java.lang.Class<T> connectionType, PluginContext context, java.lang.Object... objects)
<T extends Connection>
TConnectionManagerImpl. getFirstConnection(java.lang.Class<T> connectionType, PluginContext context, java.lang.Object... objects)
-
Uses of PluginContext in org.processmining.framework.plugin
Methods in org.processmining.framework.plugin that return PluginContext Modifier and Type Method Description PluginContext
PluginContext. createChildContext(java.lang.String label)
Returns a new plugin context instance, which can be used to invoke other plugins.PluginContext
PluginContext. getParentContext()
Returns the context which created this context or null if it has no parent.PluginContext
PluginContext. getRootContext()
Returns the root plugin context.Methods in org.processmining.framework.plugin that return types with arguments of type PluginContext Modifier and Type Method Description java.util.List<PluginContext>
PluginContext. getChildContexts()
Returns a list of all child contexts which have been created with createChildContext().java.lang.Class<? extends PluginContext>
PluginDescriptor. getContextType(int methodIndex)
Returns the context type required by the method at index methodIndex.java.lang.Class<? extends PluginContext>
GlobalContext. getPluginContextType()
Returns the specific type of the PluginContext.Methods in org.processmining.framework.plugin with parameters of type PluginContext Modifier and Type Method Description boolean
PluginContext. deleteChild(PluginContext child)
Delete this child from this context.PluginExecutionResult
PluginDescriptor. invoke(int methodIndex, PluginContext context, java.lang.Object... args)
Asynchronously invokes a method of this plugin.PluginExecutionResult
PluginParameterBinding. invoke(PluginContext context, java.lang.Object... parameterObjects)
Invokes the method of the plugin referenced by this binding on the given parameterObjects.boolean
PluginContext. isDistantChildOf(PluginContext context)
Returns true if this is a distant child of context, i.e.Method parameters in org.processmining.framework.plugin with type arguments of type PluginContext Modifier and Type Method Description java.util.Set<PluginParameterBinding>
PluginManager. getPluginsAcceptingAtLeast(java.lang.Class<? extends PluginContext> contextType, boolean mustBeUserVisible, java.lang.Class<?>... parameters)
Returns PluginParameterBindings, which can be invoked in the given context on the given parameter types.java.util.Set<PluginParameterBinding>
PluginManager. getPluginsAcceptingInAnyOrder(java.lang.Class<? extends PluginContext> contextType, boolean mustBeUserVisible, java.lang.Class<?>... parameters)
Returns executable PluginParameterBindings, which can be invoked in the given context on the given parameter types.java.util.Set<PluginParameterBinding>
PluginManager. getPluginsAcceptingOrdered(java.lang.Class<? extends PluginContext> contextType, boolean mustBeUserVisible, java.lang.Class<?>... parameters)
Returns executable PluginParameterBindings, which can be invoked in the given context on the given parameter types.Constructors in org.processmining.framework.plugin with parameters of type PluginContext Constructor Description RecursiveCallException(PluginContext context, PluginDescriptor plugin, int methodIndex)
-
Uses of PluginContext in org.processmining.framework.plugin.events
Methods in org.processmining.framework.plugin.events with parameters of type PluginContext Modifier and Type Method Description void
PluginLifeCycleEventListener.List. firePluginCancelled(PluginContext context)
void
PluginLifeCycleEventListener.List. firePluginCompleted(PluginContext context)
void
PluginLifeCycleEventListener.List. firePluginCreated(PluginContext context)
void
PluginLifeCycleEventListener.List. firePluginDeleted(PluginContext context)
void
PluginLifeCycleEventListener.List. firePluginFutureCreated(PluginContext context)
void
PluginLifeCycleEventListener.List. firePluginResumed(PluginContext context)
void
PluginLifeCycleEventListener.List. firePluginStarted(PluginContext context)
void
PluginLifeCycleEventListener.List. firePluginSuspended(PluginContext context)
void
PluginLifeCycleEventListener.List. firePluginTerminatedWithError(PluginContext context, java.lang.Throwable t)
void
ProvidedObjectLifeCycleListener.ListenerList. fireProvidedObjectCreated(ProvidedObjectID objectID, PluginContext context)
void
PluginLifeCycleEventListener. pluginCancelled(PluginContext context)
This method is invoked on a context, if it is cancelledvoid
PluginLifeCycleEventListener. pluginCompleted(PluginContext context)
This method is invoked on a context, if it is completedvoid
PluginLifeCycleEventListener. pluginCreated(PluginContext context)
This method is invoked on a parent context, if a child context of that parent is created.void
PluginLifeCycleEventListener. pluginDeleted(PluginContext context)
This method is invoked on a context, if it's deleted from its parentvoid
PluginLifeCycleEventListener. pluginFutureCreated(PluginContext context)
This method is invoked on a context, if it's future was set.void
PluginLifeCycleEventListener. pluginResumed(PluginContext context)
This method is invoked on a context, if it is resumedvoid
PluginLifeCycleEventListener. pluginStarted(PluginContext context)
This method is invoked on a context, if it is startedvoid
PluginLifeCycleEventListener. pluginSuspended(PluginContext context)
This method is invoked on a context, if it is suspendedvoid
PluginLifeCycleEventListener. pluginTerminatedWithError(PluginContext context, java.lang.Throwable t)
This method is invoked on a context, if it throws an exceptionvoid
ProvidedObjectLifeCycleListener. providedObjectCreated(ProvidedObjectID objectID, PluginContext context)
-
Uses of PluginContext in org.processmining.framework.plugin.impl
Classes in org.processmining.framework.plugin.impl that implement PluginContext Modifier and Type Class Description class
AbstractPluginContext
Methods in org.processmining.framework.plugin.impl that return PluginContext Modifier and Type Method Description PluginContext
AbstractPluginContext. createChildContext(java.lang.String label)
protected abstract PluginContext
AbstractPluginContext. createTypedChildContext(java.lang.String label)
protected abstract PluginContext
AbstractGlobalContext. getMainPluginContext()
PluginContext
AbstractPluginContext. getParentContext()
PluginContext
AbstractPluginContext. getRootContext()
Methods in org.processmining.framework.plugin.impl that return types with arguments of type PluginContext Modifier and Type Method Description java.util.List<PluginContext>
AbstractPluginContext. getChildContexts()
java.lang.Class<? extends PluginContext>
PluginDescriptorImpl. getContextType(int methodIndex)
abstract java.lang.Class<? extends PluginContext>
AbstractGlobalContext. getPluginContextType()
java.lang.Class<? extends PluginContext>
AbstractPluginContext. getPluginContextType()
Methods in org.processmining.framework.plugin.impl with parameters of type PluginContext Modifier and Type Method Description boolean
AbstractPluginContext. deleteChild(PluginContext child)
protected abstract java.lang.Object[]
AbstractPluginDescriptor. execute(PluginContext context, int methodIndex, java.lang.Object... allArgs)
In this method, the pluginDescriptor should do the actual work of concstructing the result.protected java.lang.Object[]
PluginDescriptorImpl. execute(PluginContext context, int methodIndex, java.lang.Object... allArgs)
PluginExecutionResult
AbstractPluginDescriptor. invoke(int methodIndex, PluginContext context, java.lang.Object... args)
boolean
AbstractPluginContext. isDistantChildOf(PluginContext context)
Method parameters in org.processmining.framework.plugin.impl with type arguments of type PluginContext Modifier and Type Method Description java.util.Set<PluginParameterBinding>
PluginManagerImpl. getPluginsAcceptingAtLeast(java.lang.Class<? extends PluginContext> contextType, boolean mustBeUserVisible, java.lang.Class<?>... parameters)
java.util.Set<PluginParameterBinding>
PluginManagerImpl. getPluginsAcceptingInAnyOrder(java.lang.Class<? extends PluginContext> contextType, boolean mustBeUserVisible, java.lang.Class<?>... parameters)
java.util.Set<PluginParameterBinding>
PluginManagerImpl. getPluginsAcceptingOrdered(java.lang.Class<? extends PluginContext> contextType, boolean mustBeUserVisible, java.lang.Class<?>... parameters)
static void
PluginManagerImpl. initialize(java.lang.Class<? extends PluginContext> pluginContextType)
Constructors in org.processmining.framework.plugin.impl with parameters of type PluginContext Constructor Description ProgressBarImpl(PluginContext context)
-
Uses of PluginContext in org.processmining.framework.providedobjects
Methods in org.processmining.framework.providedobjects with parameters of type PluginContext Modifier and Type Method Description <T> ProvidedObjectID
ProvidedObjectManager. createProvidedObject(java.lang.String name, T object, java.lang.Class<? super T> type, PluginContext context)
This method creates a new providedObjectID.<T> ProvidedObjectID
ProvidedObjectManager. createProvidedObject(java.lang.String name, T object, PluginContext context)
This method creates a new providedObjectID.java.util.List<ProvidedObjectID>
ProvidedObjectManager. createProvidedObjects(PluginContext context)
This method creates a list of new providedObjectIDs for each object in the PluginExecutionResult of the context. -
Uses of PluginContext in org.processmining.framework.providedobjects.impl
Methods in org.processmining.framework.providedobjects.impl with parameters of type PluginContext Modifier and Type Method Description <T> ProvidedObjectID
ProvidedObjectManagerImpl. createProvidedObject(java.lang.String label, T object, java.lang.Class<? super T> type, PluginContext context)
<T> ProvidedObjectID
ProvidedObjectManagerImpl. createProvidedObject(java.lang.String label, T object, PluginContext context)
java.util.List<ProvidedObjectID>
ProvidedObjectManagerImpl. createProvidedObjects(PluginContext context)
void
ProvidedObjectImpl. pluginCancelled(PluginContext context)
-