public class PromotedBuildsExclusion extends JobPropertyExclusion
Exclusion which only needs to take action if the user chooses NOT to retain local
promotions.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
LOG| Constructor and Description |
|---|
PromotedBuildsExclusion() |
| Modifier and Type | Method and Description |
|---|---|
void |
postClone(EzContext context,
hudson.model.AbstractProject implementationProject)
Adds all the promotions from the template project into the implementation one.
|
void |
preClone(EzContext context,
hudson.model.AbstractProject implementationProject)
Capture content we want to keep.
|
getDescription, getDisabledText, getId, toStringpublic static final java.lang.String ID
public void preClone(EzContext context, hudson.model.AbstractProject implementationProject)
ExclusionpreClone in interface ExclusionpreClone in class JobPropertyExclusioncontext - Templating execution, Exclusions must check if they are selected in this execution!implementationProject - The child project before and any processing.public void postClone(EzContext context, hudson.model.AbstractProject implementationProject)
postClone in interface ExclusionpostClone in class JobPropertyExclusionimplementationProject - context - Templating execution, Exclusions must check if they are selected in this execution!EzReflectionUtils