Class CredentialsBlock


  • public final class CredentialsBlock
    extends Object
    The CredentialsBlock class corresponds to an "optionalBlock" jelly element that represents user credentials data.
    • Constructor Detail

      • CredentialsBlock

        @DataBoundConstructor
        public CredentialsBlock​(String vid,
                                String vkey,
                                String vuser,
                                String vpassword)
        Constructor for CredentialsBlock.

        Called by Jenkins with form data.

        Parameters:
        vid - a String object.
        vkey - a String object.
        vuser - a String object.
        vpassword - a String object.
    • Method Detail

      • getVid

        public String getVid()
        Corresponds to the vid identifier referenced in a jelly file.
        Returns:
        a String object.
      • getVkey

        public String getVkey()
        Corresponds to the vkey identifier referenced in a jelly file.
        Returns:
        a String object.