aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skyframe/CompletionReceiver.java
diff options
context:
space:
mode:
authorGravatar Janak Ramakrishnan <janakr@google.com>2015-03-20 17:24:45 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-03-23 11:54:24 +0000
commit41fad448fc8e70b7a51e9560d566e94ff28589e4 (patch)
treea2f6e9d5cd22f993296e24aac928e3b778d9a010 /src/main/java/com/google/devtools/build/lib/skyframe/CompletionReceiver.java
parent9bc8577c89c297bfea88f5a460e32fed7eadfe2a (diff)
Rolling forward rolled back change that did declared dependencies on discovered inputs before execution, since the underlying cause has been fixed and a test has been added.
-- MOS_MIGRATED_REVID=89134131
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/CompletionReceiver.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/skyframe/CompletionReceiver.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/CompletionReceiver.java b/src/main/java/com/google/devtools/build/lib/skyframe/CompletionReceiver.java
new file mode 100644
index 0000000000..ec4b6f7432
--- /dev/null
+++ b/src/main/java/com/google/devtools/build/lib/skyframe/CompletionReceiver.java
@@ -0,0 +1,19 @@
+// Copyright 2015 Google Inc. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+package com.google.devtools.build.lib.skyframe;
+
+/** Interface for objects that wish to be notified when a skyframe evaluation has finished. */
+public interface CompletionReceiver {
+ void complete();
+}