Package io.jenkins.plugins.pgyer
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 Summary
ConstructorsConstructorDescriptionSettings(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 aSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionapiKey()Returns the value of theapiKeyrecord component.Returns the value of thebuildChannelShortcutrecord component.Returns the value of thebuildDescriptionrecord component.Returns the value of thebuildInstallEndDaterecord component.Returns the value of thebuildInstallStartDaterecord component.Returns the value of thebuildInstallTyperecord component.Returns the value of thebuildPasswordrecord component.Returns the value of thebuildTyperecord component.Returns the value of thebuildUpdateDescriptionrecord component.Returns the value of thecredentialsIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.scanDir()Returns the value of thescanDirrecord component.final StringtoString()Returns a string representation of this record class.wildcard()Returns the value of thewildcardrecord component.
-
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 aSettingsrecord class.- Parameters:
apiKey- the value for theapiKeyrecord componentcredentialsId- the value for thecredentialsIdrecord componentscanDir- the value for thescanDirrecord componentwildcard- the value for thewildcardrecord componentbuildType- the value for thebuildTyperecord componentbuildInstallType- the value for thebuildInstallTyperecord componentbuildPassword- the value for thebuildPasswordrecord componentbuildDescription- the value for thebuildDescriptionrecord componentbuildUpdateDescription- the value for thebuildUpdateDescriptionrecord componentbuildChannelShortcut- the value for thebuildChannelShortcutrecord componentbuildInstallStartDate- the value for thebuildInstallStartDaterecord componentbuildInstallEndDate- the value for thebuildInstallEndDaterecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
apiKey
Returns the value of theapiKeyrecord component.- Returns:
- the value of the
apiKeyrecord component
-
credentialsId
Returns the value of thecredentialsIdrecord component.- Returns:
- the value of the
credentialsIdrecord component
-
scanDir
Returns the value of thescanDirrecord component.- Returns:
- the value of the
scanDirrecord component
-
wildcard
Returns the value of thewildcardrecord component.- Returns:
- the value of the
wildcardrecord component
-
buildType
Returns the value of thebuildTyperecord component.- Returns:
- the value of the
buildTyperecord component
-
buildInstallType
Returns the value of thebuildInstallTyperecord component.- Returns:
- the value of the
buildInstallTyperecord component
-
buildPassword
Returns the value of thebuildPasswordrecord component.- Returns:
- the value of the
buildPasswordrecord component
-
buildDescription
Returns the value of thebuildDescriptionrecord component.- Returns:
- the value of the
buildDescriptionrecord component
-
buildUpdateDescription
Returns the value of thebuildUpdateDescriptionrecord component.- Returns:
- the value of the
buildUpdateDescriptionrecord component
-
buildChannelShortcut
Returns the value of thebuildChannelShortcutrecord component.- Returns:
- the value of the
buildChannelShortcutrecord component
-
buildInstallStartDate
Returns the value of thebuildInstallStartDaterecord component.- Returns:
- the value of the
buildInstallStartDaterecord component
-
buildInstallEndDate
Returns the value of thebuildInstallEndDaterecord component.- Returns:
- the value of the
buildInstallEndDaterecord component
-