public interface Exclusion
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
User-visible description of the exclusion
|
java.lang.String |
getDisabledText()
Determine if this exclusion is possible in the current installation
|
java.lang.String |
getId()
ez-templates id for this
Exclusion. |
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.
|
java.lang.String getId()
Exclusion. Generally expected to be a plugin's id.java.lang.String getDescription()
java.lang.String getDisabledText()
void preClone(EzContext context, hudson.model.AbstractProject implementationProject)
context - Templating execution, Exclusions must check if they are selected in this execution!implementationProject - The child project before and any processing.void postClone(EzContext context, hudson.model.AbstractProject implementationProject)
context - Templating execution, Exclusions 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 Exclusions 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