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 Details

    • 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.