public class JobPropertyExclusion extends AbstractExclusion
Exclusion
which retains a given JobProperty
through cloningLOG
Constructor and Description |
---|
JobPropertyExclusion(java.lang.String id,
java.lang.String description,
java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
void |
postClone(EzContext context,
hudson.model.AbstractProject implementationProject)
Restore content we kept - usually via reflection to prevent infinite save recursion.
|
void |
preClone(EzContext context,
hudson.model.AbstractProject implementationProject)
Capture content we want to keep.
|
getDescription, getDisabledText, getId, toString
public JobPropertyExclusion(java.lang.String id, java.lang.String description, java.lang.String className)
public void preClone(EzContext context, hudson.model.AbstractProject implementationProject)
Exclusion
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)
Exclusion
context
- Templating execution, Exclusion
s must check if they are selected in this execution!implementationProject
- The child project immediately after it has been XML-cloned from its template.
Note it will be amended by successive Exclusion
s so the overall state is
indeterminate although each individual Exclusion
can presume its personal
view of the Job currently looks exactly like the template.EzReflectionUtils