Class SSHAgentBuildWrapper.CredentialHolder

    • Constructor Detail

      • CredentialHolder

        @DataBoundConstructor
        public CredentialHolder​(String id)
        Stapler's constructor.
        Parameters:
        id - the ID.
    • Method Detail

      • getId

        public String getId()
        Gets the id.
        Returns:
        the id.
      • toIdList

        @NonNull
        public static List<String> toIdList​(@Nullable
                                            SSHAgentBuildWrapper.CredentialHolder[] credentialHolders)
        Converts an array of value objects into a list of ids.
        Parameters:
        credentialHolders - the array of value objects.
        Returns:
        the possibly empty but never null list of ids.