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 void
error(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 ProMActionManager
initialize(UIContext context)
void
newPlugin(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:
getActions
in 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:
getActions
in interfaceorg.deckfour.uitopia.api.hub.ActionManager<ProMAction>
-
getActions
public java.util.List<ProMAction> getActions()
- Specified by:
getActions
in 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.PluginManagerListener
Listen for errors which occur while registering packages and scanning for plugins.- Specified by:
error
in 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.PluginManagerListener
Listen for plugins that are registered to the manager. Every time a PluginDescriptor is added to the manager, an event is generated.- Specified by:
newPlugin
in interfaceorg.processmining.framework.plugin.PluginManager.PluginManagerListener
-
-