Record Class StatusResource.ApplicationBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.core.impl.resources.StatusResource.ApplicationBean
- Enclosing class:
StatusResource
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationBean(String version, String revision, String branch, String buildTime) Creates an instance of aApplicationBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbranch()Returns the value of thebranchrecord component.Returns the value of thebuildTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.revision()Returns the value of therevisionrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
ApplicationBean
Creates an instance of aApplicationBeanrecord class.- Parameters:
version- the value for theversionrecord componentrevision- the value for therevisionrecord componentbranch- the value for thebranchrecord componentbuildTime- the value for thebuildTimerecord component
-
-
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). -
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
revision
Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-
branch
Returns the value of thebranchrecord component.- Returns:
- the value of the
branchrecord component
-
buildTime
Returns the value of thebuildTimerecord component.- Returns:
- the value of the
buildTimerecord component
-