Class JobRestrictionPropertyConfig
java.lang.Object
com.synopsys.arc.jenkinsci.plugins.jobrestrictions.jobs.JobRestrictionPropertyConfig
- All Implemented Interfaces:
Describable<JobRestrictionPropertyConfig>
public class JobRestrictionPropertyConfig
extends Object
implements Describable<JobRestrictionPropertyConfig>
Stores the configuration for
JobRestrictionProperty
.- Author:
- Oleg Nenashev
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJobRestrictionPropertyConfig
(UpstreamCauseRestriction upstreamCauseRestriction, UserIdCauseRestriction userIdCauseRestriction) -
Method Summary
-
Field Details
-
DESCRIPTOR
-
-
Constructor Details
-
JobRestrictionPropertyConfig
@DataBoundConstructor public JobRestrictionPropertyConfig(UpstreamCauseRestriction upstreamCauseRestriction, UserIdCauseRestriction userIdCauseRestriction)
-
-
Method Details
-
getUpstreamCauseRestriction
-
getUserIdCauseRestriction
-
validateCause
public void validateCause(@NonNull Cause cause, @NonNull BuildListener listener) throws AbortException - Throws:
AbortException
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<JobRestrictionPropertyConfig>
-