Record Class StatusResource.StatusBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.core.impl.resources.StatusResource.StatusBean
- Enclosing class:
StatusResource
public static record StatusResource.StatusBean(StatusResource.ApplicationBean application, StatusResource.RuntimeBean runtime, Map<String,String> clientPackages)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionStatusBean(StatusResource.ApplicationBean application, StatusResource.RuntimeBean runtime, Map<String, String> clientPackages) Creates an instance of aStatusBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationrecord component.Returns the value of theclientPackagesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.runtime()Returns the value of theruntimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StatusBean
public StatusBean(StatusResource.ApplicationBean application, StatusResource.RuntimeBean runtime, Map<String, String> clientPackages) Creates an instance of aStatusBeanrecord class.- Parameters:
application- the value for theapplicationrecord componentruntime- the value for theruntimerecord componentclientPackages- the value for theclientPackagesrecord 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). -
application
Returns the value of theapplicationrecord component.- Returns:
- the value of the
applicationrecord component
-
runtime
Returns the value of theruntimerecord component.- Returns:
- the value of the
runtimerecord component
-
clientPackages
-