Class PromotionsExtensionPoint

java.lang.Object
javaposse.jobdsl.plugin.ContextExtensionPoint
hudson.plugins.promoted_builds.integrations.jobdsl.PromotionsExtensionPoint
All Implemented Interfaces:
ExtensionPoint

@Extension(optional=true) public class PromotionsExtensionPoint extends javaposse.jobdsl.plugin.ContextExtensionPoint
The Job DSL Extension Point for the Promotions. See also Extending the DSL
Author:
Dennis Schulte
  • Constructor Details

    • PromotionsExtensionPoint

      public PromotionsExtensionPoint()
  • Method Details

    • promotions

      @DslExtensionMethod(context=javaposse.jobdsl.dsl.helpers.properties.PropertiesContext.class) public Object promotions(Runnable closure, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment) throws Descriptor.FormException, IOException
      Throws:
      Descriptor.FormException
      IOException
    • notifyItemCreated

      public void notifyItemCreated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment)
      Overrides:
      notifyItemCreated in class javaposse.jobdsl.plugin.ContextExtensionPoint
    • notifyItemCreated

      public void notifyItemCreated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment, boolean update)
    • notifyItemUpdated

      public void notifyItemUpdated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment)
      Overrides:
      notifyItemUpdated in class javaposse.jobdsl.plugin.ContextExtensionPoint