Class ProMActionManager
- java.lang.Object
-
- org.processmining.contexts.uitopia.hub.ProMActionManager
-
- All Implemented Interfaces:
java.util.EventListener,org.deckfour.uitopia.api.hub.ActionManager<ProMAction>,org.processmining.framework.plugin.PluginManager.PluginManagerListener
public class ProMActionManager extends java.lang.Object implements org.deckfour.uitopia.api.hub.ActionManager<ProMAction>, org.processmining.framework.plugin.PluginManager.PluginManagerListener
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(java.net.URL source, java.lang.Throwable t, java.lang.String className)Listen for errors which occur while registering packages and scanning for plugins.java.util.List<ProMAction>getActions()java.util.List<ProMAction>getActions(java.util.List<org.deckfour.uitopia.api.model.ResourceType> input, java.util.List<org.deckfour.uitopia.api.model.ResourceType> output)Returns a list of actions, such that these actions accepts all given input resources and result in at least on of the output resources.java.util.List<ProMAction>getActions(java.util.List<org.deckfour.uitopia.api.model.ResourceType> parameters, java.util.List<org.deckfour.uitopia.api.model.ResourceType> requiredOutput, org.deckfour.uitopia.api.model.ActionType type)static ProMActionManagerinitialize(UIContext context)voidnewPlugin(org.processmining.framework.plugin.PluginDescriptor plugin, java.util.Collection<java.lang.Class<?>> newTypes)Listen for plugins that are registered to the manager.
-
-
-
Method Detail
-
initialize
public static ProMActionManager initialize(UIContext context)
-
getActions
public java.util.List<ProMAction> getActions(java.util.List<org.deckfour.uitopia.api.model.ResourceType> input, java.util.List<org.deckfour.uitopia.api.model.ResourceType> output)
Returns a list of actions, such that these actions accepts all given input resources and result in at least on of the output resources.- Specified by:
getActionsin interfaceorg.deckfour.uitopia.api.hub.ActionManager<ProMAction>
-
getActions
public java.util.List<ProMAction> getActions(java.util.List<org.deckfour.uitopia.api.model.ResourceType> parameters, java.util.List<org.deckfour.uitopia.api.model.ResourceType> requiredOutput, org.deckfour.uitopia.api.model.ActionType type)
- Specified by:
getActionsin interfaceorg.deckfour.uitopia.api.hub.ActionManager<ProMAction>
-
getActions
public java.util.List<ProMAction> getActions()
- Specified by:
getActionsin interfaceorg.deckfour.uitopia.api.hub.ActionManager<ProMAction>
-
error
public void error(java.net.URL source, java.lang.Throwable t, java.lang.String className)Description copied from interface:org.processmining.framework.plugin.PluginManager.PluginManagerListenerListen for errors which occur while registering packages and scanning for plugins.- Specified by:
errorin interfaceorg.processmining.framework.plugin.PluginManager.PluginManagerListener- Parameters:
source- The URL which was being registered while this error occurredt- The error which occurredclassName- The class name of the class which was being registered, may be null
-
newPlugin
public void newPlugin(org.processmining.framework.plugin.PluginDescriptor plugin, java.util.Collection<java.lang.Class<?>> newTypes)Description copied from interface:org.processmining.framework.plugin.PluginManager.PluginManagerListenerListen for plugins that are registered to the manager. Every time a PluginDescriptor is added to the manager, an event is generated.- Specified by:
newPluginin interfaceorg.processmining.framework.plugin.PluginManager.PluginManagerListener
-
-