public final class ClosedContextImpl extends Object implements ClosedContext
Constructor and Description |
---|
ClosedContextImpl(ActiveContext parentContext,
String contextID,
String evaluatorId,
EvaluatorDescriptor evaluatorDescriptor) |
Modifier and Type | Method and Description |
---|---|
EvaluatorDescriptor |
getEvaluatorDescriptor() |
String |
getEvaluatorId() |
String |
getId()
Returns an identifier of this object.
|
ActiveContext |
getParentContext() |
Optional<String> |
getParentId() |
String |
toString() |
public ClosedContextImpl(ActiveContext parentContext, String contextID, String evaluatorId, EvaluatorDescriptor evaluatorDescriptor)
parentContext
- the parent context.contextID
- the id of the closed contextevaluatorId
- the id of the evaluator on which the context was closedevaluatorDescriptor
- the descriptor of the evaluator on which the context was closed.public ActiveContext getParentContext()
getParentContext
in interface ClosedContext
public String getId()
Identifiable
getId
in interface ContextBase
getId
in interface Identifiable
public String getEvaluatorId()
getEvaluatorId
in interface ContextBase
public Optional<String> getParentId()
getParentId
in interface ContextBase
public EvaluatorDescriptor getEvaluatorDescriptor()
getEvaluatorDescriptor
in interface ContextBase
Copyright © 2017 The Apache Software Foundation. All rights reserved.