Package io.camunda.service
Record Class JobServices.ActivateJobsRequest
java.lang.Object
java.lang.Record
io.camunda.service.JobServices.ActivateJobsRequest
- Enclosing class:
JobServices<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefetchVariablerecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxJobsToActivaterecord component.longReturns the value of therequestTimeoutrecord component.Returns the value of thetenantIdsrecord component.longtimeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.worker()Returns the value of theworkerrecord component.
-
Constructor Details
-
ActivateJobsRequest
public ActivateJobsRequest(String type, int maxJobsToActivate, List<String> tenantIds, long timeout, String worker, List<String> fetchVariable, long requestTimeout) Creates an instance of aActivateJobsRequestrecord class.- Parameters:
type- the value for thetyperecord componentmaxJobsToActivate- the value for themaxJobsToActivaterecord componenttenantIds- the value for thetenantIdsrecord componenttimeout- the value for thetimeoutrecord componentworker- the value for theworkerrecord componentfetchVariable- the value for thefetchVariablerecord componentrequestTimeout- the value for therequestTimeoutrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
maxJobsToActivate
public int maxJobsToActivate()Returns the value of themaxJobsToActivaterecord component.- Returns:
- the value of the
maxJobsToActivaterecord component
-
tenantIds
Returns the value of thetenantIdsrecord component.- Returns:
- the value of the
tenantIdsrecord component
-
timeout
public long timeout()Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-
worker
Returns the value of theworkerrecord component.- Returns:
- the value of the
workerrecord component
-
fetchVariable
Returns the value of thefetchVariablerecord component.- Returns:
- the value of the
fetchVariablerecord component
-
requestTimeout
public long requestTimeout()Returns the value of therequestTimeoutrecord component.- Returns:
- the value of the
requestTimeoutrecord component
-