1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Introduce API annotation.

This commit is contained in:
Marcus Holl 2018-12-17 09:17:52 +01:00
parent 30d6f59b56
commit a678429f42

View File

@ -0,0 +1,19 @@
package com.sap.piper;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Methods or classes annotated with this annotation are used outside
* this shared, e.g. in other shared libraries. In case there is the
* need for changing this methods this should be clearly announced
* in order to get a consensus about the change and in order to allow
* users of the correponding class/method to adapt to the change accordingly.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface API {
}