Class RootIssuer

    • Constructor Detail

      • RootIssuer

        public RootIssuer()
    • Method Detail

      • context

        protected ModelObject context()
        Description copied from class: Issuer
        The associated object in Jenkins.
        Specified by:
        context in class Issuer
      • checkExtendedReadPermission

        protected void checkExtendedReadPermission()
                                            throws org.springframework.security.access.AccessDeniedException
        Description copied from class: Issuer
        Check permision on the Issuer.context() to enumerate credentials and get their metadata.
        Specified by:
        checkExtendedReadPermission in class Issuer
        Throws:
        org.springframework.security.access.AccessDeniedException
      • forContext

        public Collection<? extends Issuer> forContext​(Run<?,​?> context)
        Description copied from interface: Issuer.Factory
        Find issuers which might be applicable to a given build.
        Specified by:
        forContext in interface Issuer.Factory
        Parameters:
        context - a build context
        Returns:
        issuers handled by this factory which might apply to this build, most specific first (possibly empty)
      • forConfig

        public Issuer forConfig​(org.kohsuke.stapler.StaplerRequest req)
        Description copied from interface: Issuer.Factory
        Find an issuer potentially being configured from a certain screen.
        Specified by:
        forConfig in interface Issuer.Factory
        Parameters:
        req - form validation request in a credentials configuration screen
        Returns:
        a potential issuer for that location, if valid
        See Also:
        StaplerRequest.findAncestorObject(java.lang.Class<T>)