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 -
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyItemCreated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment) voidnotifyItemCreated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment, boolean update) voidnotifyItemUpdated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment) promotions(Runnable closure, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment) Methods inherited from class javaposse.jobdsl.plugin.ContextExtensionPoint
all, executeInContext
-
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.FormExceptionIOException
-
notifyItemCreated
- Overrides:
notifyItemCreatedin classjavaposse.jobdsl.plugin.ContextExtensionPoint
-
notifyItemCreated
public void notifyItemCreated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment, boolean update) -
notifyItemUpdated
- Overrides:
notifyItemUpdatedin classjavaposse.jobdsl.plugin.ContextExtensionPoint
-