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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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) 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.FormException
IOException
-
notifyItemCreated
- Overrides:
notifyItemCreated
in classjavaposse.jobdsl.plugin.ContextExtensionPoint
-
notifyItemCreated
public void notifyItemCreated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment, boolean update) -
notifyItemUpdated
- Overrides:
notifyItemUpdated
in classjavaposse.jobdsl.plugin.ContextExtensionPoint
-