Record Class JobStreamEndpoint.Metadata
java.lang.Object
java.lang.Record
io.camunda.zeebe.shared.management.JobStreamEndpoint.Metadata
- Enclosing class:
- JobStreamEndpoint
public static record JobStreamEndpoint.Metadata(String worker, Duration timeout, Collection<String> fetchVariables)
extends Record
View model for the
JobActivationProperties of a job stream.-
Constructor Summary
ConstructorsConstructorDescriptionMetadata(String worker, Duration timeout, Collection<String> fetchVariables) Creates an instance of aMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefetchVariablesrecord component.final inthashCode()Returns a hash code value for this object.timeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.worker()Returns the value of theworkerrecord component.
-
Constructor Details
-
Metadata
Creates an instance of aMetadatarecord class.- Parameters:
worker- the value for theworkerrecord componenttimeout- the value for thetimeoutrecord componentfetchVariables- the value for thefetchVariablesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
worker
Returns the value of theworkerrecord component.- Returns:
- the value of the
workerrecord component
-
timeout
Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-
fetchVariables
Returns the value of thefetchVariablesrecord component.- Returns:
- the value of the
fetchVariablesrecord component
-