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 SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.ContextExtensionPointall, executeInContext
- 
Constructor Details- 
PromotionsExtensionPointpublic 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:
- notifyItemCreatedin class- javaposse.jobdsl.plugin.ContextExtensionPoint
 
- 
notifyItemCreatedpublic void notifyItemCreated(Item item, javaposse.jobdsl.plugin.DslEnvironment dslEnvironment, boolean update) 
- 
notifyItemUpdated- Overrides:
- notifyItemUpdatedin class- javaposse.jobdsl.plugin.ContextExtensionPoint
 
 
-