Record Class ControlBusController.CommandArgument
java.lang.Object
java.lang.Record
org.springframework.integration.http.management.ControlBusController.CommandArgument
- Enclosing class:
ControlBusController
public static record ControlBusController.CommandArgument(String value, Class<?> parameterType)
extends Record
- Since:
- 6.4
- Author:
- Artem Bilan
-
Constructor Summary
ConstructorsConstructorDescriptionCommandArgument
(String value, Class<?> parameterType) Creates an instance of aCommandArgument
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Class
<?> Returns the value of theparameterType
record component.final String
toString()
Returns a string representation of this record class.value()
Returns the value of thevalue
record component.
-
Constructor Details
-
CommandArgument
-
-
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)
. -
value
Returns the value of thevalue
record component.- Returns:
- the value of the
value
record component
-
parameterType
Returns the value of theparameterType
record component.- Returns:
- the value of the
parameterType
record component
-