Class ProMActionManager
java.lang.Object
org.processmining.contexts.uitopia.hub.ProMActionManager
- All Implemented Interfaces:
EventListener
,org.deckfour.uitopia.api.hub.ActionManager<ProMAction>
,PluginManager.PluginManagerListener
public class ProMActionManager
extends Object
implements org.deckfour.uitopia.api.hub.ActionManager<ProMAction>, PluginManager.PluginManagerListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Listen for errors which occur while registering packages and scanning for plugins.getActions
(List<org.deckfour.uitopia.api.model.ResourceType> input, 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.getActions
(List<org.deckfour.uitopia.api.model.ResourceType> parameters, List<org.deckfour.uitopia.api.model.ResourceType> requiredOutput, org.deckfour.uitopia.api.model.ActionType type) static ProMActionManager
initialize
(UIContext context) void
newPlugin
(PluginDescriptor plugin, Collection<Class<?>> newTypes) Listen for plugins that are registered to the manager.
-
Method Details
-
initialize
-
getActions
public List<ProMAction> getActions(List<org.deckfour.uitopia.api.model.ResourceType> input, 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 List<ProMAction> getActions(List<org.deckfour.uitopia.api.model.ResourceType> parameters, 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
- Specified by:
getActions
in interfaceorg.deckfour.uitopia.api.hub.ActionManager<ProMAction>
-
error
Description copied from interface:PluginManager.PluginManagerListener
Listen for errors which occur while registering packages and scanning for plugins.- Specified by:
error
in interfacePluginManager.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
Description copied from interface: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 interfacePluginManager.PluginManagerListener
-