Class TimeTSAnnotatinOSPlugin
- java.lang.Object
-
- org.processmining.models.operationalsupport.net.provider.impl.AbstractProvider
-
- org.processmining.plugins.operationalsupport.providers.timetsannotation.TimeTSAnnotatinOSPlugin
-
- All Implemented Interfaces:
org.processmining.models.operationalsupport.net.provider.Provider
public class TimeTSAnnotatinOSPlugin extends org.processmining.models.operationalsupport.net.provider.impl.AbstractProvider
-
-
Constructor Summary
Constructors Constructor Description TimeTSAnnotatinOSPlugin(org.processmining.models.operationalsupport.net.service.OSService owner, AnnotatedTransitionSystem ts)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.deckfour.xes.model.XEventgenerateEvent(java.lang.String task, org.deckfour.xes.extension.std.XLifecycleExtension.StandardModel transition)voidpopulateResponse(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.ProviderregisterServiceProviderA(org.processmining.framework.plugin.PluginContext context, org.processmining.models.operationalsupport.net.service.OSService service, AnnotatedTransitionSystem ats)static org.processmining.models.operationalsupport.net.provider.ProviderregisterServiceProviderAUI(org.processmining.contexts.uitopia.UIPluginContext context, org.processmining.models.operationalsupport.net.service.OSService service, AnnotatedTransitionSystem ats)
-
-
-
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.ProviderThis 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 anIOException, and due to the provider's inability to resolve the request (i.e., an error occurred while handling the issued request, signaled by an ordinaryExceptionbeing thrown; or, the request did not yield any usable result, which results in anullresponse value.- Specified by:
populateResponsein interfaceorg.processmining.models.operationalsupport.net.provider.Provider- Specified by:
populateResponsein classorg.processmining.models.operationalsupport.net.provider.impl.AbstractProvider- Parameters:
environment- The context which is monitoring the servicerequest- 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)
-
-