Interface FlowExecutionList.Storage
- All Superinterfaces:
- ExtensionPoint
- All Known Implementing Classes:
- FlowExecutionList.DefaultStorage
- Enclosing class:
- FlowExecutionList
@Restricted(org.kohsuke.accmod.restrictions.Beta.class)
public static interface FlowExecutionList.Storage
extends ExtensionPoint
Alternate mechanism for implementing the storage of the set of builds.
- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Method SummaryModifier and TypeMethodDescriptionbooleancontains(FlowExecutionOwner owner) Check if an entry is present.iterator()Enumerate running builds.voidload()Load data during startup.voidregister(FlowExecutionOwner owner) Add an entry, if not already present.voidresume()Resume builds.voidshutDown()Flush any unsaved data before Jenkins exits.voidunregister(FlowExecutionOwner owner) Remove an entry, if present.
- 
Method Details- 
iteratorIterator<FlowExecution> iterator()Enumerate running builds. Order is unspecified. The set may be mutated while the iterator is active.
- 
registerAdd an entry, if not already present.
- 
unregisterRemove an entry, if present.
- 
containsCheck if an entry is present.
- 
loadvoid load()Load data during startup.
- 
resumevoid resume()Resume builds.FlowExecutionOwner.get()should be called on each entry. IfFlowExecution.isComplete()already, or an exception is thrown, the entry should be removed as ifunregister(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner)had been called.
- 
shutDownFlush any unsaved data before Jenkins exits.- Throws:
- InterruptedException
 
 
-