Class CredentialRuleSupporter
- java.lang.Object
-
- io.jenkins.plugins.enhanced.credentials.CredentialRuleSupporter
-
public class CredentialRuleSupporter extends Object
-
-
Constructor Summary
Constructors Constructor Description CredentialRuleSupporter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
callGetId(com.cloudbees.plugins.credentials.Credentials credentials)
static void
checkAdminPermission()
Boolean
checkJobHasAccessForCredential(com.cloudbees.plugins.credentials.Credentials credentials, Job job)
Boolean
checkProjectHasAccessForCredential(com.cloudbees.plugins.credentials.Credentials credentials, FreeStyleProject project)
void
tryStoppingFreeStyleBuild(FreeStyleBuild freeStyleBuild)
void
tryStoppingWorkflowRun(org.jenkinsci.plugins.workflow.job.WorkflowRun workflowRun)
-
-
-
Method Detail
-
checkProjectHasAccessForCredential
public Boolean checkProjectHasAccessForCredential(com.cloudbees.plugins.credentials.Credentials credentials, FreeStyleProject project)
-
checkJobHasAccessForCredential
public Boolean checkJobHasAccessForCredential(com.cloudbees.plugins.credentials.Credentials credentials, Job job)
-
tryStoppingFreeStyleBuild
public void tryStoppingFreeStyleBuild(FreeStyleBuild freeStyleBuild) throws AbortException
- Throws:
AbortException
-
tryStoppingWorkflowRun
public void tryStoppingWorkflowRun(org.jenkinsci.plugins.workflow.job.WorkflowRun workflowRun)
-
callGetId
public static String callGetId(com.cloudbees.plugins.credentials.Credentials credentials)
-
-