Package com.atlassian.bamboo.plugin
Class PluginInjectionHelper
java.lang.Object
com.atlassian.bamboo.plugin.PluginInjectionHelper
Deprecated.
since 6.8 prefer the use of constructors for providing backward compatibility between new and old
platform
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
S extends T, O extends T>
TfirstNotNull
(S setterInjected, @Nullable Optional<O> annotationInjected) Deprecated.Returns either the first argument or the content of optional.
-
Method Details
-
firstNotNull
public static <T,S extends T, T firstNotNullO extends T> (@Nullable S setterInjected, @Nullable @Nullable Optional<O> annotationInjected) Deprecated.Returns either the first argument or the content of optional. Can be used to provide backward compatibilty for setter/annotation injection between platform 5 and pre-5.
-