Interface P4Credentials

All Superinterfaces:
com.cloudbees.plugins.credentials.Credentials, Describable<com.cloudbees.plugins.credentials.Credentials>, ExtensionPoint, com.cloudbees.plugins.credentials.common.IdCredentials, Serializable, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.common.StandardUsernameCredentials, com.cloudbees.plugins.credentials.common.UsernameCredentials
All Known Subinterfaces:
P4Password, P4Ticket
All Known Implementing Classes:
P4BaseCredentials, P4PasswordImpl, P4TicketImpl

public interface P4Credentials extends com.cloudbees.plugins.credentials.common.StandardUsernameCredentials
  • Nested Class Summary

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    com.cloudbees.plugins.credentials.common.IdCredentials.Helpers

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardUsernameCredentials

    com.cloudbees.plugins.credentials.common.StandardUsernameCredentials.NameProvider
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    boolean
     

    Methods inherited from interface com.cloudbees.plugins.credentials.Credentials

    forRun, getDescriptor, getScope

    Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    getId

    Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

    getDescription

    Methods inherited from interface com.cloudbees.plugins.credentials.common.UsernameCredentials

    getUsername, isUsernameSecret
  • Method Details

    • getP4port

      String getP4port()
      Returns:
      p4port in the form 'hostname:port' Only used for Jelly binding; use getFullP4port()
    • getSsl

      TrustImpl getSsl()
      Returns:
      SSL object if enabled
    • isSslEnabled

      boolean isSslEnabled()
      Returns:
      true if SSL is selected Do not use isSsl() JENKINS-58249
    • getTrust

      String getTrust()
      Returns:
      The P4 trust fingerprint