Class ExecutionControlManagerWebService<T extends ExecutionControlManager>
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<T>
-
- de.aristaflow.ilm.ws.core.runtimemanager.ExecutionControlManagerWebService<T>
-
- Direct Known Subclasses:
RemoteExecutionControlManagerWebService
public class ExecutionControlManagerWebService<T extends ExecutionControlManager> extends AbstractSubResourceWebService<T>
- See Also:
ExecutionControlManager
-
-
Field Summary
Fields Modifier and Type Field Description protected AsRemoteIteratorWebService
ariws
The web service for remote iterator handlers for activity states.protected ProcessModelFactory
pmf
-
Constructor Summary
Constructors Constructor Description ExecutionControlManagerWebService(T service, AbstractSubResourceWebService<?> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Boolean
abortActivity(@NotNull @Valid SessionToken session, @NotNull @Valid EbpInstanceReference activity, Long timeToRespond)
void
finishActivity(@NotNull @Valid SessionToken session, @NotNull @Valid EbpInstanceReference activity)
@Valid AsInitialRemoteIteratorData
getActivitiesIterator(@NotNull @Valid SessionToken session, @NotNull List<ActivityState.State> states, @Positive Integer count, Boolean allActivities)
@Valid ActivityState
getActivityState(@NotNull @Valid SessionToken session, @NotNull @Valid EbpInstanceReference activity)
AsRemoteIteratorWebService
getAsRemoteIteratorWebService()
@Valid ExecutionControlProperties
getExecutionControlProperties(@NotNull @Valid SessionToken session, @NotNull @Valid EbpInstanceReference activity)
void
resetActivity(@NotNull @Valid SessionToken session, @NotNull @Valid EbpInstanceReference activity)
void
sendSignalToActivity(@NotNull @Valid SessionToken session, @NotNull @Valid EbpInstanceReference activity, @NotNull Integer signal)
void
shutdown()
Shuts down this sub resource web service.void
suspendActivity(@NotNull @Valid SessionToken session, @NotNull @Valid EbpInstanceReference activity)
@Valid ActivityState
waitForTermination(@NotNull @Valid SessionToken session, @NotNull @Valid EbpInstanceReference activity, Long timeToRespond)
-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService
getLogger, getLogService, getService, getServiceMetaData, getServiceUris, getSessionFactory
-
-
-
-
Field Detail
-
ariws
protected final AsRemoteIteratorWebService ariws
The web service for remote iterator handlers for activity states.
-
pmf
protected final ProcessModelFactory pmf
-
-
Constructor Detail
-
ExecutionControlManagerWebService
public ExecutionControlManagerWebService(T service, AbstractSubResourceWebService<?> parent) throws ServiceNotKnownException
- Throws:
ServiceNotKnownException
-
-
Method Detail
-
shutdown
public void shutdown()
Description copied from class:AbstractSubResourceWebService
Shuts down this sub resource web service. This default implementation does nothing.- Overrides:
shutdown
in classAbstractSubResourceWebService<T extends ExecutionControlManager>
-
getAsRemoteIteratorWebService
public AsRemoteIteratorWebService getAsRemoteIteratorWebService()
-
getExecutionControlProperties
@Valid public @Valid ExecutionControlProperties getExecutionControlProperties(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity) throws ParameterException
-
suspendActivity
public void suspendActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity) throws ParameterException
-
finishActivity
public void finishActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity) throws ParameterException
-
resetActivity
public void resetActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity) throws ParameterException
-
abortActivity
@NotNull public @NotNull Boolean abortActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity, Long timeToRespond) throws ParameterException
-
sendSignalToActivity
public void sendSignalToActivity(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity, @NotNull @NotNull Integer signal) throws ParameterException
-
getActivityState
@Valid public @Valid ActivityState getActivityState(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity) throws ParameterException
-
getActivitiesIterator
@Valid public @Valid AsInitialRemoteIteratorData getActivitiesIterator(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @NotNull List<ActivityState.State> states, @Positive @Positive Integer count, Boolean allActivities) throws ParameterException, DataSourceException, DataConsistencyException
- Throws:
ParameterException
DataSourceException
DataConsistencyException
- See Also:
ExecutionControlManager.getActivitiesIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.runtimeenvironment.ActivityState.State[])
,ExecutionControlManager.getAllActivitiesIterator(de.aristaflow.adept2.base.sessionmanagement.SessionToken, de.aristaflow.adept2.model.runtimeenvironment.ActivityState.State[])
,RemoteIteratorHandler.init(RemoteIterator, Integer)
-
waitForTermination
@Valid public @Valid ActivityState waitForTermination(@NotNull @Valid @NotNull @Valid SessionToken session, @NotNull @Valid @NotNull @Valid EbpInstanceReference activity, Long timeToRespond) throws ParameterException, InterruptException
-
-