Skip to content

Commit 809726b

Browse files
committed
add value
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 8f47e51 commit 809726b

File tree

1 file changed

+10
-2
lines changed
  • operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler

1 file changed

+10
-2
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Experimental.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,13 @@
1212
* the feedback of the users.
1313
*/
1414
@Retention(RetentionPolicy.SOURCE)
15-
@Target({ElementType.METHOD, ElementType.TYPE})
16-
public @interface Experimental {}
15+
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.PACKAGE})
16+
public @interface Experimental {
17+
18+
/**
19+
* Describes why the annotated element is experimental.
20+
*
21+
* @return the experimental description.
22+
*/
23+
String value();
24+
}

0 commit comments

Comments
 (0)