Record Class ArtifactDownload
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.core.nonentities.job.ArtifactDownload
- Record Components:
resource- artifact contentname- download namemediaType- declared media type
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactDownload(org.springframework.core.io.Resource resource, String name, String mediaType) Creates an instance of aArtifactDownloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themediaTyperecord component.name()Returns the value of thenamerecord component.org.springframework.core.io.Resourceresource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArtifactDownload
-
-
Method Details
-
toString
-
hashCode
-
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). -
resource
-
name
-
mediaType
-