Class DummyGlobalContext
- java.lang.Object
-
- org.processmining.contexts.uitopia.DummyGlobalContext
-
- All Implemented Interfaces:
org.processmining.framework.plugin.GlobalContext
public class DummyGlobalContext extends java.lang.Object implements org.processmining.framework.plugin.GlobalContext
-
-
Constructor Summary
Constructors Constructor Description DummyGlobalContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.processmining.framework.plugin.PluginContextIDcreateNewPluginContextID()The GlobalContext implementation should create IDs for all PluginContexts instantiated for it.org.processmining.framework.connections.ConnectionManagergetConnectionManager()Returns the connection manager.java.lang.Class<? extends org.processmining.framework.plugin.PluginContext>getPluginContextType()Returns the specific type of the PluginContext.org.processmining.framework.plugin.PluginManagergetPluginManager()Returns the plugin manager.org.processmining.framework.providedobjects.ProvidedObjectManagergetProvidedObjectManager()Returns the providedObject manager.voidinvokeBinding(org.processmining.framework.plugin.PluginParameterBinding binding, java.lang.Object... objects)This method invokes the specified binding in a context which is a child of the main plugin context maintained by this globalContext.voidinvokePlugin(org.processmining.framework.plugin.PluginDescriptor plugin, int index, java.lang.Object... objects)This method invokes the specified plugin in a context which is a child of the main plugin context maintained by this globalContext.
-
-
-
Method Detail
-
getPluginManager
public org.processmining.framework.plugin.PluginManager getPluginManager()
Description copied from interface:org.processmining.framework.plugin.GlobalContextReturns the plugin manager. The plugin manager can be used to query for plugins which are registered in ProM.- Specified by:
getPluginManagerin interfaceorg.processmining.framework.plugin.GlobalContext- Returns:
- the plugin manager
-
getProvidedObjectManager
public org.processmining.framework.providedobjects.ProvidedObjectManager getProvidedObjectManager()
Description copied from interface:org.processmining.framework.plugin.GlobalContextReturns the providedObject manager. The providedObject manager can be used to query for providedObjects which are registered in ProM. The manager should be a ProvidedObjectListener on all PluginInstanceContexts created by createRootInstanceContext.- Specified by:
getProvidedObjectManagerin interfaceorg.processmining.framework.plugin.GlobalContext- Returns:
- the providedObject manager
-
getConnectionManager
public org.processmining.framework.connections.ConnectionManager getConnectionManager()
Description copied from interface:org.processmining.framework.plugin.GlobalContextReturns the connection manager. The connection manager can be used to query for connections which are registered in ProM.- Specified by:
getConnectionManagerin interfaceorg.processmining.framework.plugin.GlobalContext- Returns:
- the connection manager
-
createNewPluginContextID
public org.processmining.framework.plugin.PluginContextID createNewPluginContextID()
Description copied from interface:org.processmining.framework.plugin.GlobalContextThe GlobalContext implementation should create IDs for all PluginContexts instantiated for it.- Specified by:
createNewPluginContextIDin interfaceorg.processmining.framework.plugin.GlobalContext- Returns:
-
invokePlugin
public void invokePlugin(org.processmining.framework.plugin.PluginDescriptor plugin, int index, java.lang.Object... objects)Description copied from interface:org.processmining.framework.plugin.GlobalContextThis method invokes the specified plugin in a context which is a child of the main plugin context maintained by this globalContext. No results are provided to the method calling this method and the plugin is executed some time in the future, as decided by the implementing class.- Specified by:
invokePluginin interfaceorg.processmining.framework.plugin.GlobalContext- Parameters:
plugin- The plugin that should be invoked by the frameworkindex- The index of the plugin method that should be invoked.objects- The objects to serve as input as accepted by the method at index of the plugin
-
invokeBinding
public void invokeBinding(org.processmining.framework.plugin.PluginParameterBinding binding, java.lang.Object... objects)Description copied from interface:org.processmining.framework.plugin.GlobalContextThis method invokes the specified binding in a context which is a child of the main plugin context maintained by this globalContext. No results are provided to the method calling this method and the plugin is executed some time in the future, as decided by the implementing class.- Specified by:
invokeBindingin interfaceorg.processmining.framework.plugin.GlobalContext- Parameters:
binding- The binding that should be invoked by the frameworkobjects- The objects to serve as input as accepted by the given binding.
-
getPluginContextType
public java.lang.Class<? extends org.processmining.framework.plugin.PluginContext> getPluginContextType()
Description copied from interface:org.processmining.framework.plugin.GlobalContextReturns the specific type of the PluginContext. This type is used to instantiate new contexts in which to invoke plugins.- Specified by:
getPluginContextTypein interfaceorg.processmining.framework.plugin.GlobalContext- Returns:
- the type of PluginContext provided by this global context
-
-