Class SCMHeadAuthority<S extends SCMSourceRequest,H extends SCMHeadMixin,R extends SCMRevision>

java.lang.Object
hudson.model.AbstractDescribableImpl<SCMHeadAuthority<?,?,?>>
jenkins.scm.api.trait.SCMHeadAuthority<S,H,R>
Type Parameters:
S - the type of SCMSourceRequest.
H - the specialization of SCMHeadMixin that this authority provides trust information for.
R - the specialization of SCMRevision that this authority provides trust information for.
All Implemented Interfaces:
Describable<SCMHeadAuthority<?,?,?>>

public abstract class SCMHeadAuthority<S extends SCMSourceRequest,H extends SCMHeadMixin,R extends SCMRevision> extends AbstractDescribableImpl<SCMHeadAuthority<?,?,?>>
Abstraction to allow pluggable definitions of trust for SCMHead and SCMRevision instances in the context of a specific SCMSourceRequest.

Note: there can be multiple authorities for the same types of head / revision active in the context of any one request. The ultimate trust state is determined by a logical OR operation, in other words if any one authority says that the head / revision is trusted then the head / revision is trusted.

Since:
3.4.0