public class ResolvedNameReference extends NameReference
NameReference.ResolvedAction, NameReference.Typeref, type| Constructor and Description |
|---|
ResolvedNameReference(String ref,
NameReference.Type type,
NameDescription nd) |
| Modifier and Type | Method and Description |
|---|---|
NameReference |
addResolvedAction(NameReference.ResolvedAction action)
Adds an action to the list to be executed when the reference is resolved and returns this.
|
CompletableFuture<NameDescription> |
getResolvedFuture()
returns a future that is called when the reference is resolved
|
boolean |
isResolved() |
boolean |
tryResolve(NameDescription nd)
Execute all the actions (if not already executed) and return true if the reference has been resolved.
|
getReference, getType, toStringpublic ResolvedNameReference(String ref, NameReference.Type type, NameDescription nd)
public boolean tryResolve(NameDescription nd)
NameReferencetryResolve in class NameReferencepublic NameReference addResolvedAction(NameReference.ResolvedAction action)
NameReferenceaddResolvedAction in class NameReferencepublic boolean isResolved()
isResolved in class NameReferencepublic CompletableFuture<NameDescription> getResolvedFuture()
NameReferencegetResolvedFuture in class NameReferenceCopyright © 2020 Space Applications Services. All rights reserved.