Record Class TurSystemInfoBean.ExternalServiceInfo
java.lang.Object
java.lang.Record
com.viglet.turing.api.system.TurSystemInfoBean.ExternalServiceInfo
- Enclosing class:
TurSystemInfoBean
-
Constructor Summary
ConstructorsConstructorDescriptionExternalServiceInfo(boolean enabled, String version, String endpoint, String status) Creates an instance of aExternalServiceInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Returns the value of theenabledrecord component.endpoint()Returns the value of theendpointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
ExternalServiceInfo
Creates an instance of aExternalServiceInforecord class.- Parameters:
enabled- the value for theenabledrecord componentversion- the value for theversionrecord componentendpoint- the value for theendpointrecord componentstatus- the value for thestatusrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
enabled
public boolean enabled()Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
endpoint
Returns the value of theendpointrecord component.- Returns:
- the value of the
endpointrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-