Class ChangeRequestConditional
java.lang.Object
hudson.model.AbstractDescribableImpl<T>
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable<S>
org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ChangeRequestConditional>
org.jenkinsci.plugins.pipeline.modeldefinition.when.impl.ChangeRequestConditional
- All Implemented Interfaces:
ExtensionPoint
,Describable<ChangeRequestConditional>
,Serializable
public class ChangeRequestConditional
extends org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ChangeRequestConditional>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCHANGE_AUTHOR matching.CHANGE_AUTHOR_DISPLAY_NAME matching.CHANGE_AUTHOR_EMAIL matching.CHANGE_BRANCH matching.The name of theComparator
to use.getFork()
CHANGE_FORK matching.getId()
CHANGE_ID matching.CHANGE_TARGET matching.getTitle()
CHANGE_TITLE matching.getUrl()
CHANGE_URL.boolean
void
void
setAuthorDisplayName
(String authorDisplayName) void
setAuthorEmail
(String authorEmail) void
void
setComparator
(String comparator) void
void
void
void
void
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional
getChildren, getDescriptor
Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable
getScript
-
Constructor Details
-
ChangeRequestConditional
@DataBoundConstructor public ChangeRequestConditional()
-
-
Method Details
-
getId
CHANGE_ID matching.- Returns:
- id
- See Also:
-
ChangeRequestSCMHead.getId()
-
setId
-
getTarget
CHANGE_TARGET matching.- Returns:
- target
- See Also:
-
SCMHead.getName()
-
setTarget
-
getBranch
CHANGE_BRANCH matching.- Returns:
- target
- See Also:
-
ChangeRequestSCMHead2.getOriginName()
-
setBranch
-
getFork
CHANGE_FORK matching.- Returns:
- fork
- See Also:
-
SCMHeadOrigin.Fork.getName()
-
setFork
-
getUrl
CHANGE_URL. Ant style matching doesn't work on url strings due to it being meant for regular paths and all those extra characters conflicts.- Returns:
- url
- See Also:
-
ObjectMetadataAction.getObjectUrl()
-
setUrl
-
getTitle
CHANGE_TITLE matching.- Returns:
- title
- See Also:
-
ObjectMetadataAction.getObjectDisplayName()
-
setTitle
-
getAuthor
CHANGE_AUTHOR matching.- Returns:
- authorDisplayName
- See Also:
-
ContributorMetadataAction.getContributor()
-
setAuthor
-
getAuthorDisplayName
CHANGE_AUTHOR_DISPLAY_NAME matching.- Returns:
- authorDisplayName
- See Also:
-
ContributorMetadataAction.getContributorDisplayName()
-
setAuthorDisplayName
-
getAuthorEmail
CHANGE_AUTHOR_EMAIL matching.- Returns:
- authorEmail
- See Also:
-
ContributorMetadataAction.getContributorEmail()
-
setAuthorEmail
-
getComparator
The name of theComparator
to use. Default isComparator.EQUALS
- Returns:
- the name of the comparator, or null if default.
-
setComparator
-
matches
-