diff options
author | 2015-08-24 17:27:48 +0000 | |
---|---|---|
committer | 2015-08-25 07:40:45 +0000 | |
commit | 0afd4539fc49d43f379a24e8b4ce6609cd2a503b (patch) | |
tree | 0c6d940b5f1176b16f9edae4af8a1005440988b9 /src/main/java/com/google/devtools/build/skyframe/NodeEntry.java | |
parent | 252dc05081371b99a48ccfb70abebf800ce8c87f (diff) |
Return raw SkyValue instead of wrapped ValueWithMetadata.
--
MOS_MIGRATED_REVID=101377320
Diffstat (limited to 'src/main/java/com/google/devtools/build/skyframe/NodeEntry.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/skyframe/NodeEntry.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/skyframe/NodeEntry.java b/src/main/java/com/google/devtools/build/skyframe/NodeEntry.java index ed9904d8f7..daf1ffca5b 100644 --- a/src/main/java/com/google/devtools/build/skyframe/NodeEntry.java +++ b/src/main/java/com/google/devtools/build/skyframe/NodeEntry.java @@ -84,12 +84,14 @@ public interface NodeEntry { /** - * Returns the {@link SkyValue} for this entry and the metadata associated with it (Like events - * and errors). This method may only be called after the evaluation of this node is complete, - * i.e., after {@link #setValue} has been called. + * Returns raw {@link SkyValue} stored in this entry, which may include metadata associated with + * it (like events and errors). This method may only be called after the evaluation of this node + * is complete, i.e., after {@link #setValue} has been called. + * + * <p>Use the static methods of {@link ValueWithMetadata} to extract metadata if necessary. */ @ThreadSafe - ValueWithMetadata getValueWithMetadata(); + SkyValue getValueMaybeWithMetadata(); /** * Returns the value, even if dirty or changed. Returns null otherwise. |