Class ProMTask
java.lang.Object
org.processmining.contexts.uitopia.model.ProMTask
- All Implemented Interfaces:
EventListener
,org.deckfour.uitopia.api.model.Task<ProMPOResource>
,Logger
,PluginLifeCycleEventListener
,ProgressEventListener
public class ProMTask
extends Object
implements org.deckfour.uitopia.api.model.Task<ProMPOResource>, ProgressEventListener, Logger, PluginLifeCycleEventListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.processmining.framework.plugin.events.Logger
Logger.ListenerList, Logger.MessageLevel
Nested classes/interfaces inherited from interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
PluginLifeCycleEventListener.List
Nested classes/interfaces inherited from interface org.processmining.framework.plugin.events.ProgressEventListener
ProgressEventListener.ListenerList
-
Constructor Summary
ConstructorDescriptionProMTask
(UIContext context, ProMAction action, List<Collection<ProMPOResource>> parameterValues, UIPluginContext pluginContext, org.deckfour.uitopia.api.event.TaskListener listener) -
Method Summary
Modifier and TypeMethodDescriptionvoid
changeProgress
(int progress) void
changeProgressBounds
(int lowBo, int upBo) void
changeProgressCaption
(String newCaption) void
changeProgressIndeterminate
(boolean indeterminate) void
destroy()
double
void
log
(String message, PluginContextID contextID, Logger.MessageLevel messageLevel) void
log
(Throwable t, PluginContextID contextID) void
pluginCancelled
(PluginContext context) This method is invoked on a context, if it is cancelledvoid
pluginCompleted
(PluginContext pluginContext) This method is invoked on a context, if it is completedvoid
pluginCreated
(PluginContext pluginContext) This method is invoked on a parent context, if a child context of that parent is created.void
pluginDeleted
(PluginContext pluginContext) This method is invoked on a context, if it's deleted from its parentvoid
pluginFutureCreated
(PluginContext pluginContext) This method is invoked on a context, if it's future was set.void
pluginResumed
(PluginContext pluginContext) This method is invoked on a context, if it is resumedvoid
pluginStarted
(PluginContext pluginContext) This method is invoked on a context, if it is startedvoid
pluginSuspended
(PluginContext pluginContext) This method is invoked on a context, if it is suspendedvoid
pluginTerminatedWithError
(PluginContext pluginContext, Throwable t) This method is invoked on a context, if it throws an exceptionorg.deckfour.uitopia.api.event.TaskListener.InteractionResult
showConfiguration
(String title, JComponent configuration) org.deckfour.uitopia.api.event.TaskListener.InteractionResult
showWizard
(String title, boolean first, boolean last, JComponent configuration) toString()
-
Constructor Details
-
ProMTask
public ProMTask(UIContext context, ProMAction action, List<Collection<ProMPOResource>> parameterValues, UIPluginContext pluginContext, org.deckfour.uitopia.api.event.TaskListener listener)
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroy
in interfaceorg.deckfour.uitopia.api.model.Task<ProMPOResource>
-
getAction
- Specified by:
getAction
in interfaceorg.deckfour.uitopia.api.model.Task<ProMPOResource>
-
getProgress
public double getProgress()- Specified by:
getProgress
in interfaceorg.deckfour.uitopia.api.model.Task<ProMPOResource>
-
showConfiguration
public org.deckfour.uitopia.api.event.TaskListener.InteractionResult showConfiguration(String title, JComponent configuration) -
showWizard
public org.deckfour.uitopia.api.event.TaskListener.InteractionResult showWizard(String title, boolean first, boolean last, JComponent configuration) -
getParameterValues
- Specified by:
getParameterValues
in interfaceorg.deckfour.uitopia.api.model.Task<ProMPOResource>
-
changeProgress
public void changeProgress(int progress) - Specified by:
changeProgress
in interfaceProgressEventListener
-
changeProgressBounds
public void changeProgressBounds(int lowBo, int upBo) - Specified by:
changeProgressBounds
in interfaceProgressEventListener
-
changeProgressCaption
- Specified by:
changeProgressCaption
in interfaceProgressEventListener
-
changeProgressIndeterminate
public void changeProgressIndeterminate(boolean indeterminate) - Specified by:
changeProgressIndeterminate
in interfaceProgressEventListener
-
log
-
log
-
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:
pluginContext
- 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:
pluginContext
- 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:
pluginContext
- 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:
pluginContext
- 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:
pluginContext
- 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:
pluginContext
- 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:
pluginContext
- 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:
pluginContext
- the context
-
getProvidedObjectIds
-
toString
-