Class TimeTSAnnotatinOSPlugin

  • All Implemented Interfaces:
    org.processmining.models.operationalsupport.net.provider.Provider

    public class TimeTSAnnotatinOSPlugin
    extends org.processmining.models.operationalsupport.net.provider.impl.AbstractProvider
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.deckfour.xes.model.XEvent generateEvent​(java.lang.String task, org.deckfour.xes.extension.std.XLifecycleExtension.StandardModel transition)  
      void populateResponse​(org.processmining.framework.util.socket.ServiceEnvironment environment, org.processmining.models.operationalsupport.Request request, org.processmining.models.operationalsupport.ProviderResponse response)
      This is the main request method, which can be used to retrieve recommendations for specific queries.
      static org.processmining.models.operationalsupport.net.provider.Provider registerServiceProviderA​(org.processmining.framework.plugin.PluginContext context, org.processmining.models.operationalsupport.net.service.OSService service, AnnotatedTransitionSystem ats)  
      static org.processmining.models.operationalsupport.net.provider.Provider registerServiceProviderAUI​(org.processmining.contexts.uitopia.UIPluginContext context, org.processmining.models.operationalsupport.net.service.OSService service, AnnotatedTransitionSystem ats)  
      • Methods inherited from class org.processmining.models.operationalsupport.net.provider.impl.AbstractProvider

        getOwner
      • Methods inherited from class java.lang.Object

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

      • TimeTSAnnotatinOSPlugin

        public TimeTSAnnotatinOSPlugin​(org.processmining.models.operationalsupport.net.service.OSService owner,
                                       AnnotatedTransitionSystem ts)
    • Method Detail

      • populateResponse

        public void populateResponse​(org.processmining.framework.util.socket.ServiceEnvironment environment,
                                     org.processmining.models.operationalsupport.Request request,
                                     org.processmining.models.operationalsupport.ProviderResponse response)
        Description copied from interface: org.processmining.models.operationalsupport.net.provider.Provider

        This is the main request method, which can be used to retrieve recommendations for specific queries. All communication and encoding of parameters can be assumed to be performed in subclasses implementing this interface.

        Note: This method may block for an unspecified time, including network transport and resolving the request on the provider side. Use this method in a separate thread if you wish your application to remain responsive.
        Also note that the request can fail, both due to transmission errors (which will yield an IOException, and due to the provider's inability to resolve the request (i.e., an error occurred while handling the issued request, signaled by an ordinary Exception being thrown; or, the request did not yield any usable result, which results in a null response value.

        Specified by:
        populateResponse in interface org.processmining.models.operationalsupport.net.provider.Provider
        Specified by:
        populateResponse in class org.processmining.models.operationalsupport.net.provider.impl.AbstractProvider
        Parameters:
        environment - The context which is monitoring the service
        request - The request for recommendations.
      • generateEvent

        protected org.deckfour.xes.model.XEvent generateEvent​(java.lang.String task,
                                                              org.deckfour.xes.extension.std.XLifecycleExtension.StandardModel transition)
      • registerServiceProviderAUI

        public static org.processmining.models.operationalsupport.net.provider.Provider registerServiceProviderAUI​(org.processmining.contexts.uitopia.UIPluginContext context,
                                                                                                                   org.processmining.models.operationalsupport.net.service.OSService service,
                                                                                                                   AnnotatedTransitionSystem ats)
      • registerServiceProviderA

        public static org.processmining.models.operationalsupport.net.provider.Provider registerServiceProviderA​(org.processmining.framework.plugin.PluginContext context,
                                                                                                                 org.processmining.models.operationalsupport.net.service.OSService service,
                                                                                                                 AnnotatedTransitionSystem ats)