Class JobCauseRestriction<TCause extends Cause>
java.lang.Object
com.synopsys.arc.jenkinsci.plugins.jobrestrictions.jobs.JobCauseRestriction<TCause>
- Type Parameters:
TCause
- A cause type to be checked
- All Implemented Interfaces:
Describable<JobCauseRestriction<? extends Cause>>
- Direct Known Subclasses:
UpstreamCauseRestriction
,UserIdCauseRestriction
public abstract class JobCauseRestriction<TCause extends Cause>
extends Object
implements Describable<JobCauseRestriction<? extends Cause>>
Restricts the job execution according to the build cause.
- Author:
- Oleg Nenashev
-
Constructor Details
-
JobCauseRestriction
public JobCauseRestriction()
-
-
Method Details
-
validate
- Throws:
AbortException
-