Package org.burningwave.graph
Class Context.Abst
java.lang.Object
org.burningwave.graph.Context.Abst
- All Implemented Interfaces:
Serializable,AutoCloseable,org.burningwave.core.Component,org.burningwave.core.iterable.Properties.Listener,org.burningwave.core.ManagedLogger,Clearable,Context,ControllableContext,IterableObjectSupport,ListenableContext
- Direct Known Subclasses:
Context.Simple
- Enclosing interface:
- Context
public abstract static class Context.Abst extends Object implements Context
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.burningwave.graph.Context
Context.Abst, Context.IterationContext<T>, Context.Operation, Context.SimpleNested classes/interfaces inherited from interface org.burningwave.graph.ControllableContext
ControllableContext.Directive -
Field Summary
Fields Modifier and Type Field Description protected Map<Object,Object>containerprotected Map<String,ControllableContext.Directive>executionDirectiveForGroupNameprotected Context.IterationContext<Object>iterationContextprotected Mutex.Manager.ForMap<Context.Operation,Object,Object>mutexManager -
Constructor Summary
Constructors Constructor Description Abst(Map<Object,Object> container, Map<String,ControllableContext.Directive> executionDirectiveForGroupName, Mutex.Manager.ForMap<Context.Operation,Object,Object> mutexManager) -
Method Summary
Modifier and Type Method Description voidclear()voidclose()booleancontainsOneOf(String name, ControllableContext.Directive... directives)<T> Tget(Object key)<T> TgetCurrentIteratedObject()IntegergetCurrentIterationIndex()<T> TgetCurrentIterationResult()voidsetCurrentIterationResult(Object obj)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Component
getOrCreateTemporaryFolder, getTemporaryFolderPrefixMethods inherited from interface org.burningwave.graph.Context
createSymmetricClone, put, putAll, putAll, removeAllMethods inherited from interface org.burningwave.graph.ControllableContext
putDirective, removeDirective
-
Field Details
-
Constructor Details
-
Abst
public Abst(Map<Object,Object> container, Map<String,ControllableContext.Directive> executionDirectiveForGroupName, Mutex.Manager.ForMap<Context.Operation,Object,Object> mutexManager)
-
-
Method Details
-
get
-
containsOneOf
- Specified by:
containsOneOfin interfaceControllableContext
-
getCurrentIterationIndex
- Specified by:
getCurrentIterationIndexin interfaceIterableObjectSupport
-
getCurrentIteratedObject
public <T> T getCurrentIteratedObject()- Specified by:
getCurrentIteratedObjectin interfaceIterableObjectSupport
-
setCurrentIterationResult
- Specified by:
setCurrentIterationResultin interfaceIterableObjectSupport
-
getCurrentIterationResult
public <T> T getCurrentIterationResult()- Specified by:
getCurrentIterationResultin interfaceIterableObjectSupport
-
clear
public void clear() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.burningwave.core.Component- Specified by:
closein interfaceContext
-