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, toString
public static final java.lang.String ID
public void preClone(EzContext context, hudson.model.AbstractProject implementationProject)
Exclusion
preClone
in interface Exclusion
preClone
in class JobPropertyExclusion
context
- Templating execution, Exclusion
s 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 Exclusion
postClone
in class JobPropertyExclusion
implementationProject
- context
- Templating execution, Exclusion
s must check if they are selected in this execution!EzReflectionUtils