Uses of Record Class
de.aristaflow.adept2.core.eventmanager.ScheduledProcessStart
Packages that use ScheduledProcessStart
Package
Description
-
Uses of ScheduledProcessStart in de.aristaflow.adept2.core.eventmanager
Methods in de.aristaflow.adept2.core.eventmanager that return ScheduledProcessStartModifier and TypeMethodDescriptionScheduledProcessStartEvent.getScheduledProcessStart()Gets the scheduled process start which has raised this event.static ScheduledProcessStartScheduledProcessStartTools.parse(Configuration conf, String name, ProcessModelFactory factory, Locale locale, Logger logger) Reads the start of the designated name from the designated configuration, wholly from the runtime layer if the start has a key there, otherwise wholly from the static layer.Methods in de.aristaflow.adept2.core.eventmanager with parameters of type ScheduledProcessStartModifier and TypeMethodDescriptionScheduledProcessStartTools.format(Configuration conf, ScheduledProcessStart start) Gets the entries which write the designated start into the runtime layer of the designated configuration through the batch write of an event manager,setConfigurationValues: every key of the start with its value, the empty string for every other key the start has in the runtime layer, so that the batch write deletes it, and the list of the names in the runtime layer with the name of the start. -
Uses of ScheduledProcessStart in de.aristaflow.adept2.core.eventmanager.common
Fields in de.aristaflow.adept2.core.eventmanager.common with type parameters of type ScheduledProcessStartModifier and TypeFieldDescriptionprotected final Map<String,ScheduledProcessStart> DefaultEventManager.scheduledStartsThe configured scheduled process starts whose sources are registered, indexed by their names.protected final Map<String,ScheduledProcessStart> DefaultEventManager.templateStartsThe scheduled process starts of template statuses whose sources are registered or being registered, indexed by their names.Methods in de.aristaflow.adept2.core.eventmanager.common that return ScheduledProcessStartModifier and TypeMethodDescriptionDefaultEventManager.getTemplateStart(String name) Gets the scheduled process start of a template status which this event manager registers under the designated name, so that its source gets it, since such a start has no form in the configuration.Methods in de.aristaflow.adept2.core.eventmanager.common that return types with arguments of type ScheduledProcessStartModifier and TypeMethodDescriptionprotected Map<String,ScheduledProcessStart> DefaultEventManager.checkScheduledStarts(Configuration result, Collection<String> changed) Checks the designated configuration resulting from a batch write: the scheduled process starts of the designated names which it holds as they enter the configuration, and every name of a runtime start against the static starts which do not allow overriding.protected Map<String,ScheduledProcessStart> DefaultEventManager.getLiveStarts(Collection<TemplateStatus> statuses) Gets the enabled scheduled starts of the designated template statuses as scheduled process starts of their templates, indexed by their names.protected Map<String,ScheduledProcessStart> DefaultEventManager.getScheduledStarts(Configuration conf, Collection<String> names) Gets the scheduled process starts of the designated names which the designated configuration holds, each as far as it passes the checks of its own keys.Methods in de.aristaflow.adept2.core.eventmanager.common with parameters of type ScheduledProcessStartModifier and TypeMethodDescriptionprotected voidDefaultEventManager.addScheduledStart(ScheduledProcessStart start) Registers the source of the designated scheduled process start, which reads the start and its state from the configuration of this event manager.protected voidDefaultEventManager.addTemplateStart(SessionToken session, ScheduledProcessStart start, Instant now) Registers the source of the designated start of a template status, which gets the start from this event manager by its name, and lets the start continue with its state: as it is without a removal time, as after a restart, and after a pause, which the removal time marks, with the time of the registration as its last time event and its last instance kept.protected voidDefaultEventManager.checkScheduledStart(SessionToken session, ScheduledProcessStart start) Checks the designated scheduled process start against the process manager as where it enters the configuration: its process reference resolves to a template, the template accepts its input values and has a value for each mandatory input parameter, and the starter rule of the template admits the agent of this event manager.protected voidDefaultEventManager.checkStarterRule(SessionToken session, ScheduledProcessStart start, TemplateReference template) Checks whether the starter rule of the designated template admits the agent of this event manager, as the start of an instance checks it: an agent whose session has the supervisor role passes, any other has to be a member of the starter rule.protected voidDefaultEventManager.replaceTemplateStart(SessionToken session, ScheduledProcessStart start, Instant now) Replaces the source of the designated start of a template status, which differs from the registered start of its name, keeping its state.Method parameters in de.aristaflow.adept2.core.eventmanager.common with type arguments of type ScheduledProcessStartModifier and TypeMethodDescriptionprotected voidDefaultEventManager.applyScheduledStarts(Collection<String> changed, Map<String, ScheduledProcessStart> before, Map<String, ScheduledProcessStart> after) Changes the sources of the scheduled process starts which a batch write has changed: the source of a start which the configuration does not hold any more is removed together with the state of the start, and the source of a start which differs from the registered one is replaced or added.protected voidDefaultEventManager.applyTemplateStarts(SessionToken session, Map<String, ScheduledProcessStart> polled) Changes the sources of the scheduled starts of template statuses to the designated polled starts, in this order: the source of a registered start which the poll has not found is removed, asDefaultEventManager.removeVanishedTemplateStart(String, Instant)states, that of a start which differs from the registered one is replaced and a source is registered for every polled start without one, each continuing with the state of the start. -
Uses of ScheduledProcessStart in de.aristaflow.adept2.core.eventmanager.timeevents
Fields in de.aristaflow.adept2.core.eventmanager.timeevents declared as ScheduledProcessStartModifier and TypeFieldDescriptionprotected final ScheduledProcessStartScheduledProcessStartEventImpl.processStartThe scheduled process start which has raised this event.protected ScheduledProcessStartScheduledProcessStartSource.processStartThe scheduled process start of this source.Methods in de.aristaflow.adept2.core.eventmanager.timeevents that return ScheduledProcessStartConstructors in de.aristaflow.adept2.core.eventmanager.timeevents with parameters of type ScheduledProcessStartModifierConstructorDescriptionScheduledProcessStartEventImpl(URI[] managerURI, String eventType, String sourceType, String sourceID, ScheduledProcessStart processStart, Instant dueTime, UUID lastInstance) Creates a new event of the designated scheduled process start for the designated due time.