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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description PromotionsExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notifyItemCreated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment)
void
notifyItemCreated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment, boolean update)
void
notifyItemUpdated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment)
Object
promotions(Runnable closure, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment)
-
-
-
Method Detail
-
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 classjavaposse.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 classjavaposse.jobdsl.plugin.ContextExtensionPoint
-
-