Skip to content

Commit c39d80f

Browse files
committed
javadoc for expectation
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 1a70de0 commit c39d80f

File tree

1 file changed

+5
-0
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/expectation

1 file changed

+5
-0
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/expectation/Expectation.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323

2424
import static io.javaoperatorsdk.operator.api.reconciler.Experimental.API_MIGHT_CHANGE;
2525

26+
/**
27+
* Expectation is basically a named predicate, that has access to the reconciliation context.
28+
* Therefore, access to all caches, so can check current state of all the relevant resources. Name
29+
* is used to distinguish in reconciliation what is the actual expectation for which we wait for.
30+
*/
2631
@Experimental(API_MIGHT_CHANGE)
2732
public interface Expectation<P extends HasMetadata> {
2833

0 commit comments

Comments
 (0)