Class ProMTaskManager
java.lang.Object
org.processmining.contexts.uitopia.hub.ProMTaskManager
- All Implemented Interfaces:
EventListener
,org.deckfour.uitopia.api.hub.TaskManager<ProMTask,
,ProMPOResource> PluginLifeCycleEventListener
public class ProMTaskManager
extends Object
implements org.deckfour.uitopia.api.hub.TaskManager<ProMTask,ProMPOResource>, PluginLifeCycleEventListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
PluginLifeCycleEventListener.List
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(org.deckfour.uitopia.api.model.Action action, List<Collection<? extends org.deckfour.uitopia.api.model.Resource>> parameterValues, org.deckfour.uitopia.api.event.TaskListener listener) static ProMTaskManager
initialize
(UIContext context) boolean
isActionableResource
(List<org.deckfour.uitopia.api.model.Resource> resources) boolean
isActionableResource
(org.deckfour.uitopia.api.model.Resource r) boolean
isAnActionableResource
(List<org.deckfour.uitopia.api.model.Resource> resources) void
pluginCancelled
(PluginContext context) This method is invoked on a context, if it is cancelledvoid
pluginCompleted
(PluginContext context) This method is invoked on a context, if it is completedvoid
pluginCreated
(PluginContext context) This method is invoked on a parent context, if a child context of that parent is created.void
pluginDeleted
(PluginContext context) This method is invoked on a context, if it's deleted from its parentvoid
pluginFutureCreated
(PluginContext context) This method is invoked on a context, if it's future was set.void
pluginResumed
(PluginContext context) This method is invoked on a context, if it is resumedvoid
pluginStarted
(PluginContext context) This method is invoked on a context, if it is startedvoid
pluginSuspended
(PluginContext context) This method is invoked on a context, if it is suspendedvoid
pluginTerminatedWithError
(PluginContext context, Throwable t) This method is invoked on a context, if it throws an exception
-
Method Details
-
initialize
-
execute
public ProMTask execute(org.deckfour.uitopia.api.model.Action action, List<Collection<? extends org.deckfour.uitopia.api.model.Resource>> parameterValues, org.deckfour.uitopia.api.event.TaskListener listener) throws Exception - Specified by:
execute
in interfaceorg.deckfour.uitopia.api.hub.TaskManager<ProMTask,
ProMPOResource> - Throws:
Exception
-
getActiveTasks
- Specified by:
getActiveTasks
in interfaceorg.deckfour.uitopia.api.hub.TaskManager<ProMTask,
ProMPOResource>
-
getAllTasks
- Specified by:
getAllTasks
in interfaceorg.deckfour.uitopia.api.hub.TaskManager<ProMTask,
ProMPOResource>
-
pluginCancelled
Description copied from interface:PluginLifeCycleEventListener
This method is invoked on a context, if it is cancelled- Specified by:
pluginCancelled
in interfacePluginLifeCycleEventListener
- Parameters:
context
- the context
-
pluginCompleted
Description copied from interface:PluginLifeCycleEventListener
This method is invoked on a context, if it is completed- Specified by:
pluginCompleted
in interfacePluginLifeCycleEventListener
- Parameters:
context
- the context
-
pluginCreated
Description copied from interface:PluginLifeCycleEventListener
This method is invoked on a parent context, if a child context of that parent is created.- Specified by:
pluginCreated
in interfacePluginLifeCycleEventListener
- Parameters:
context
- the new Child context
-
pluginDeleted
Description copied from interface:PluginLifeCycleEventListener
This method is invoked on a context, if it's deleted from its parent- Specified by:
pluginDeleted
in interfacePluginLifeCycleEventListener
- Parameters:
context
- the context
-
pluginFutureCreated
Description copied from interface:PluginLifeCycleEventListener
This method is invoked on a context, if it's future was set.- Specified by:
pluginFutureCreated
in interfacePluginLifeCycleEventListener
- Parameters:
context
- the context
-
pluginResumed
Description copied from interface:PluginLifeCycleEventListener
This method is invoked on a context, if it is resumed- Specified by:
pluginResumed
in interfacePluginLifeCycleEventListener
- Parameters:
context
- the context
-
pluginStarted
Description copied from interface:PluginLifeCycleEventListener
This method is invoked on a context, if it is started- Specified by:
pluginStarted
in interfacePluginLifeCycleEventListener
- Parameters:
context
- the context
-
pluginSuspended
Description copied from interface:PluginLifeCycleEventListener
This method is invoked on a context, if it is suspended- Specified by:
pluginSuspended
in interfacePluginLifeCycleEventListener
- Parameters:
context
- the context
-
pluginTerminatedWithError
Description copied from interface:PluginLifeCycleEventListener
This method is invoked on a context, if it throws an exception- Specified by:
pluginTerminatedWithError
in interfacePluginLifeCycleEventListener
- Parameters:
context
- the context
-
isActionableResource
public boolean isActionableResource(org.deckfour.uitopia.api.model.Resource r) - Specified by:
isActionableResource
in interfaceorg.deckfour.uitopia.api.hub.TaskManager<ProMTask,
ProMPOResource>
-
isActionableResource
- Specified by:
isActionableResource
in interfaceorg.deckfour.uitopia.api.hub.TaskManager<ProMTask,
ProMPOResource>
-
isAnActionableResource
- Specified by:
isAnActionableResource
in interfaceorg.deckfour.uitopia.api.hub.TaskManager<ProMTask,
ProMPOResource>
-