Record Class UploadSupport.Settings

java.lang.Object
java.lang.Record
io.jenkins.plugins.pgyer.UploadSupport.Settings
Enclosing class:
UploadSupport

public static record UploadSupport.Settings(Secret apiKey, String credentialsId, String scanDir, String wildcard, String buildType, String buildInstallType, Secret buildPassword, String buildDescription, String buildUpdateDescription, String buildChannelShortcut, String buildInstallStartDate, String buildInstallEndDate) extends Record
The settings of a Freestyle build step, named as they are stored in job configurations.
  • Constructor Details

    • Settings

      public Settings(Secret apiKey, String credentialsId, String scanDir, String wildcard, String buildType, String buildInstallType, Secret buildPassword, String buildDescription, String buildUpdateDescription, String buildChannelShortcut, String buildInstallStartDate, String buildInstallEndDate)
      Creates an instance of a Settings record class.
      Parameters:
      apiKey - the value for the apiKey record component
      credentialsId - the value for the credentialsId record component
      scanDir - the value for the scanDir record component
      wildcard - the value for the wildcard record component
      buildType - the value for the buildType record component
      buildInstallType - the value for the buildInstallType record component
      buildPassword - the value for the buildPassword record component
      buildDescription - the value for the buildDescription record component
      buildUpdateDescription - the value for the buildUpdateDescription record component
      buildChannelShortcut - the value for the buildChannelShortcut record component
      buildInstallStartDate - the value for the buildInstallStartDate record component
      buildInstallEndDate - the value for the buildInstallEndDate record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • apiKey

      public Secret apiKey()
      Returns the value of the apiKey record component.
      Returns:
      the value of the apiKey record component
    • credentialsId

      public String credentialsId()
      Returns the value of the credentialsId record component.
      Returns:
      the value of the credentialsId record component
    • scanDir

      public String scanDir()
      Returns the value of the scanDir record component.
      Returns:
      the value of the scanDir record component
    • wildcard

      public String wildcard()
      Returns the value of the wildcard record component.
      Returns:
      the value of the wildcard record component
    • buildType

      public String buildType()
      Returns the value of the buildType record component.
      Returns:
      the value of the buildType record component
    • buildInstallType

      public String buildInstallType()
      Returns the value of the buildInstallType record component.
      Returns:
      the value of the buildInstallType record component
    • buildPassword

      public Secret buildPassword()
      Returns the value of the buildPassword record component.
      Returns:
      the value of the buildPassword record component
    • buildDescription

      public String buildDescription()
      Returns the value of the buildDescription record component.
      Returns:
      the value of the buildDescription record component
    • buildUpdateDescription

      public String buildUpdateDescription()
      Returns the value of the buildUpdateDescription record component.
      Returns:
      the value of the buildUpdateDescription record component
    • buildChannelShortcut

      public String buildChannelShortcut()
      Returns the value of the buildChannelShortcut record component.
      Returns:
      the value of the buildChannelShortcut record component
    • buildInstallStartDate

      public String buildInstallStartDate()
      Returns the value of the buildInstallStartDate record component.
      Returns:
      the value of the buildInstallStartDate record component
    • buildInstallEndDate

      public String buildInstallEndDate()
      Returns the value of the buildInstallEndDate record component.
      Returns:
      the value of the buildInstallEndDate record component