Class CredentialRuleSupporter


  • public class CredentialRuleSupporter
    extends Object
    • Constructor Detail

      • CredentialRuleSupporter

        public CredentialRuleSupporter()
    • 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)
      • tryStoppingWorkflowRun

        public void tryStoppingWorkflowRun​(org.jenkinsci.plugins.workflow.job.WorkflowRun workflowRun)
      • callGetId

        public static String callGetId​(com.cloudbees.plugins.credentials.Credentials credentials)
      • checkAdminPermission

        public static void checkAdminPermission()
                                         throws Exception
        Throws:
        Exception