Record Class CSConfigurationParameterDescription
java.lang.Object
java.lang.Record
com.io7m.certusine.api.CSConfigurationParameterDescription
- Record Components:
name- The parameter namedescription- The parameter descriptionformat- The parameter formatrequired-trueif the parameter is required
-
Constructor Summary
ConstructorsConstructorDescriptionCSConfigurationParameterDescription(String name, String description, String format, boolean required) The description of a configuration parameter. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.booleanrequired()Returns the value of therequiredrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CSConfigurationParameterDescription
public CSConfigurationParameterDescription(String name, String description, String format, boolean required) The description of a configuration parameter.- Parameters:
name- The parameter namedescription- The parameter descriptionformat- The parameter formatrequired-trueif the parameter is required
-
-
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. -
name
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
format
-
required
-