Record Class KafkaClusterResponse.ConnectorTask
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.kafka.KafkaClusterResponse.ConnectorTask
- Enclosing class:
KafkaClusterResponse
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorTask(int id, @Nullable String state, @Nullable String workerId) Creates an instance of aConnectorTaskrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.@Nullable Stringstate()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringworkerId()Returns the value of theworkerIdrecord component.
-
Constructor Details
-
ConnectorTask
-
-
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. -
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
workerId
Returns the value of theworkerIdrecord component.- Returns:
- the value of the
workerIdrecord component
-