Package com.atlassian.bamboo.plugin
Class PluginInjectionHelper
- java.lang.Object
-
- com.atlassian.bamboo.plugin.PluginInjectionHelper
-
@Internal @Deprecated public final class PluginInjectionHelper extends Object
Deprecated.since 6.8 prefer the use of constructors for providing backward compatibility between new and old platform
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <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 Detail
-
firstNotNull
public static <T,S extends T,O extends T> T firstNotNull(@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.
-
-