Class 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.
      • Methods inherited from class java.lang.Object

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

      • 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 interface org.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 interface org.deckfour.uitopia.api.hub.ActionManager<ProMAction>
      • getActions

        public java.util.List<ProMAction> getActions()
        Specified by:
        getActions in interface org.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 interface org.processmining.framework.plugin.PluginManager.PluginManagerListener
        Parameters:
        source - The URL which was being registered while this error occurred
        t - The error which occurred
        className - 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 interface org.processmining.framework.plugin.PluginManager.PluginManagerListener