Class ProMTask

  • All Implemented Interfaces:
    java.util.EventListener, org.deckfour.uitopia.api.model.Task<ProMPOResource>, org.processmining.framework.plugin.events.Logger, org.processmining.framework.plugin.events.PluginLifeCycleEventListener, org.processmining.framework.plugin.events.ProgressEventListener

    public class ProMTask
    extends java.lang.Object
    implements org.deckfour.uitopia.api.model.Task<ProMPOResource>, org.processmining.framework.plugin.events.ProgressEventListener, org.processmining.framework.plugin.events.Logger, org.processmining.framework.plugin.events.PluginLifeCycleEventListener
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.processmining.framework.plugin.events.Logger

        org.processmining.framework.plugin.events.Logger.ListenerList, org.processmining.framework.plugin.events.Logger.MessageLevel
      • Nested classes/interfaces inherited from interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener

        org.processmining.framework.plugin.events.PluginLifeCycleEventListener.List
      • Nested classes/interfaces inherited from interface org.processmining.framework.plugin.events.ProgressEventListener

        org.processmining.framework.plugin.events.ProgressEventListener.ListenerList
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void changeProgress​(int progress)  
      void changeProgressBounds​(int lowBo, int upBo)  
      void changeProgressCaption​(java.lang.String newCaption)  
      void changeProgressIndeterminate​(boolean indeterminate)  
      void destroy()  
      ProMAction getAction()  
      java.util.List<java.util.Collection<ProMPOResource>> getParameterValues()  
      double getProgress()  
      java.util.List<org.processmining.framework.providedobjects.ProvidedObjectID> getProvidedObjectIds()  
      void log​(java.lang.String message, org.processmining.framework.plugin.PluginContextID contextID, org.processmining.framework.plugin.events.Logger.MessageLevel messageLevel)  
      void log​(java.lang.Throwable t, org.processmining.framework.plugin.PluginContextID contextID)  
      void pluginCancelled​(org.processmining.framework.plugin.PluginContext context)
      This method is invoked on a context, if it is cancelled
      void pluginCompleted​(org.processmining.framework.plugin.PluginContext pluginContext)
      This method is invoked on a context, if it is completed
      void pluginCreated​(org.processmining.framework.plugin.PluginContext pluginContext)
      This method is invoked on a parent context, if a child context of that parent is created.
      void pluginDeleted​(org.processmining.framework.plugin.PluginContext pluginContext)
      This method is invoked on a context, if it's deleted from its parent
      void pluginFutureCreated​(org.processmining.framework.plugin.PluginContext pluginContext)
      This method is invoked on a context, if it's future was set.
      void pluginResumed​(org.processmining.framework.plugin.PluginContext pluginContext)
      This method is invoked on a context, if it is resumed
      void pluginStarted​(org.processmining.framework.plugin.PluginContext pluginContext)
      This method is invoked on a context, if it is started
      void pluginSuspended​(org.processmining.framework.plugin.PluginContext pluginContext)
      This method is invoked on a context, if it is suspended
      void pluginTerminatedWithError​(org.processmining.framework.plugin.PluginContext pluginContext, java.lang.Throwable t)
      This method is invoked on a context, if it throws an exception
      org.deckfour.uitopia.api.event.TaskListener.InteractionResult showConfiguration​(java.lang.String title, javax.swing.JComponent configuration)  
      org.deckfour.uitopia.api.event.TaskListener.InteractionResult showWizard​(java.lang.String title, boolean first, boolean last, javax.swing.JComponent configuration)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.deckfour.uitopia.api.model.Task<ProMPOResource>
      • getAction

        public ProMAction getAction()
        Specified by:
        getAction in interface org.deckfour.uitopia.api.model.Task<ProMPOResource>
      • getProgress

        public double getProgress()
        Specified by:
        getProgress in interface org.deckfour.uitopia.api.model.Task<ProMPOResource>
      • showConfiguration

        public org.deckfour.uitopia.api.event.TaskListener.InteractionResult showConfiguration​(java.lang.String title,
                                                                                               javax.swing.JComponent configuration)
      • showWizard

        public org.deckfour.uitopia.api.event.TaskListener.InteractionResult showWizard​(java.lang.String title,
                                                                                        boolean first,
                                                                                        boolean last,
                                                                                        javax.swing.JComponent configuration)
      • getParameterValues

        public java.util.List<java.util.Collection<ProMPOResource>> getParameterValues()
        Specified by:
        getParameterValues in interface org.deckfour.uitopia.api.model.Task<ProMPOResource>
      • changeProgress

        public void changeProgress​(int progress)
        Specified by:
        changeProgress in interface org.processmining.framework.plugin.events.ProgressEventListener
      • changeProgressBounds

        public void changeProgressBounds​(int lowBo,
                                         int upBo)
        Specified by:
        changeProgressBounds in interface org.processmining.framework.plugin.events.ProgressEventListener
      • changeProgressCaption

        public void changeProgressCaption​(java.lang.String newCaption)
        Specified by:
        changeProgressCaption in interface org.processmining.framework.plugin.events.ProgressEventListener
      • changeProgressIndeterminate

        public void changeProgressIndeterminate​(boolean indeterminate)
        Specified by:
        changeProgressIndeterminate in interface org.processmining.framework.plugin.events.ProgressEventListener
      • log

        public void log​(java.lang.String message,
                        org.processmining.framework.plugin.PluginContextID contextID,
                        org.processmining.framework.plugin.events.Logger.MessageLevel messageLevel)
        Specified by:
        log in interface org.processmining.framework.plugin.events.Logger
      • log

        public void log​(java.lang.Throwable t,
                        org.processmining.framework.plugin.PluginContextID contextID)
        Specified by:
        log in interface org.processmining.framework.plugin.events.Logger
      • pluginCancelled

        public void pluginCancelled​(org.processmining.framework.plugin.PluginContext context)
        Description copied from interface: org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        This method is invoked on a context, if it is cancelled
        Specified by:
        pluginCancelled in interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        Parameters:
        context - the context
      • pluginCompleted

        public void pluginCompleted​(org.processmining.framework.plugin.PluginContext pluginContext)
        Description copied from interface: org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        This method is invoked on a context, if it is completed
        Specified by:
        pluginCompleted in interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        Parameters:
        pluginContext - the context
      • pluginCreated

        public void pluginCreated​(org.processmining.framework.plugin.PluginContext pluginContext)
        Description copied from interface: org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        This method is invoked on a parent context, if a child context of that parent is created.
        Specified by:
        pluginCreated in interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        Parameters:
        pluginContext - the new Child context
      • pluginDeleted

        public void pluginDeleted​(org.processmining.framework.plugin.PluginContext pluginContext)
        Description copied from interface: org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        This method is invoked on a context, if it's deleted from its parent
        Specified by:
        pluginDeleted in interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        Parameters:
        pluginContext - the context
      • pluginFutureCreated

        public void pluginFutureCreated​(org.processmining.framework.plugin.PluginContext pluginContext)
        Description copied from interface: org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        This method is invoked on a context, if it's future was set.
        Specified by:
        pluginFutureCreated in interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        Parameters:
        pluginContext - the context
      • pluginResumed

        public void pluginResumed​(org.processmining.framework.plugin.PluginContext pluginContext)
        Description copied from interface: org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        This method is invoked on a context, if it is resumed
        Specified by:
        pluginResumed in interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        Parameters:
        pluginContext - the context
      • pluginStarted

        public void pluginStarted​(org.processmining.framework.plugin.PluginContext pluginContext)
        Description copied from interface: org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        This method is invoked on a context, if it is started
        Specified by:
        pluginStarted in interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        Parameters:
        pluginContext - the context
      • pluginSuspended

        public void pluginSuspended​(org.processmining.framework.plugin.PluginContext pluginContext)
        Description copied from interface: org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        This method is invoked on a context, if it is suspended
        Specified by:
        pluginSuspended in interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        Parameters:
        pluginContext - the context
      • pluginTerminatedWithError

        public void pluginTerminatedWithError​(org.processmining.framework.plugin.PluginContext pluginContext,
                                              java.lang.Throwable t)
        Description copied from interface: org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        This method is invoked on a context, if it throws an exception
        Specified by:
        pluginTerminatedWithError in interface org.processmining.framework.plugin.events.PluginLifeCycleEventListener
        Parameters:
        pluginContext - the context
      • getProvidedObjectIds

        public java.util.List<org.processmining.framework.providedobjects.ProvidedObjectID> getProvidedObjectIds()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object