Skip to content

Commit 4aa17d4

Browse files
authored
feat: add experimental annotation (#2853)
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 205f001 commit 4aa17d4

File tree

1 file changed

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

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package io.javaoperatorsdk.operator.api.reconciler;
2+
3+
import java.lang.annotation.ElementType;
4+
import java.lang.annotation.Retention;
5+
import java.lang.annotation.RetentionPolicy;
6+
import java.lang.annotation.Target;
7+
8+
/**
9+
* Marks experimental features.
10+
*
11+
* <p>Experimental features are not yet stable and may change in future releases. Usually based on
12+
* the feedback of the users.
13+
*/
14+
@Retention(RetentionPolicy.SOURCE)
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)