Class FlowExecutionList.DefaultStorage
java.lang.Object
org.jenkinsci.plugins.workflow.flow.FlowExecutionList.DefaultStorage
- All Implemented Interfaces:
 ExtensionPoint,FlowExecutionList.Storage
- Enclosing class:
 - FlowExecutionList
 
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension(ordinal=-1000.0)
public static final class FlowExecutionList.DefaultStorage
extends Object
implements FlowExecutionList.Storage
- 
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if an entry is present.iterator()Enumerate running builds.voidload()Load data during startup.voidAdd an entry, if not already present.voidresume()Resume builds.voidshutDown()Flush any unsaved data before Jenkins exits.voidRemove an entry, if present. 
- 
Constructor Details
- 
DefaultStorage
public DefaultStorage() 
 - 
 - 
Method Details
- 
iterator
Description copied from interface:FlowExecutionList.StorageEnumerate running builds. Order is unspecified. The set may be mutated while the iterator is active.- Specified by:
 iteratorin interfaceFlowExecutionList.Storage
 - 
register
Description copied from interface:FlowExecutionList.StorageAdd an entry, if not already present.- Specified by:
 registerin interfaceFlowExecutionList.Storage
 - 
unregister
Description copied from interface:FlowExecutionList.StorageRemove an entry, if present.- Specified by:
 unregisterin interfaceFlowExecutionList.Storage
 - 
contains
Description copied from interface:FlowExecutionList.StorageCheck if an entry is present.- Specified by:
 containsin interfaceFlowExecutionList.Storage
 - 
load
public void load()Description copied from interface:FlowExecutionList.StorageLoad data during startup.- Specified by:
 loadin interfaceFlowExecutionList.Storage
 - 
resume
public void resume()Description copied from interface:FlowExecutionList.StorageResume builds.FlowExecutionOwner.get()should be called on each entry. IfFlowExecution.isComplete()already, or an exception is thrown, the entry should be removed as ifFlowExecutionList.Storage.unregister(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner)had been called.- Specified by:
 resumein interfaceFlowExecutionList.Storage
 - 
shutDown
Description copied from interface:FlowExecutionList.StorageFlush any unsaved data before Jenkins exits.- Specified by:
 shutDownin interfaceFlowExecutionList.Storage- Throws:
 InterruptedException
 
 -