Record Class JobServices.ActivateJobsRequest

java.lang.Object
java.lang.Record
io.camunda.service.JobServices.ActivateJobsRequest
Enclosing class:
JobServices<T>

public static record JobServices.ActivateJobsRequest(String type, int maxJobsToActivate, List<String> tenantIds, long timeout, String worker, List<String> fetchVariable, long requestTimeout) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    ActivateJobsRequest(String type, int maxJobsToActivate, List<String> tenantIds, long timeout, String worker, List<String> fetchVariable, long requestTimeout)
    Creates an instance of a ActivateJobsRequest record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the fetchVariable record component.
    final int
    Returns a hash code value for this object.
    int
    Returns the value of the maxJobsToActivate record component.
    long
    Returns the value of the requestTimeout record component.
    Returns the value of the tenantIds record component.
    long
    Returns the value of the timeout record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the type record component.
    Returns the value of the worker record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a ActivateJobsRequest record class.
      Parameters:
      type - the value for the type record component
      maxJobsToActivate - the value for the maxJobsToActivate record component
      tenantIds - the value for the tenantIds record component
      timeout - the value for the timeout record component
      worker - the value for the worker record component
      fetchVariable - the value for the fetchVariable record component
      requestTimeout - the value for the requestTimeout record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • type

      public String type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • maxJobsToActivate

      public int maxJobsToActivate()
      Returns the value of the maxJobsToActivate record component.
      Returns:
      the value of the maxJobsToActivate record component
    • tenantIds

      public List<String> tenantIds()
      Returns the value of the tenantIds record component.
      Returns:
      the value of the tenantIds record component
    • timeout

      public long timeout()
      Returns the value of the timeout record component.
      Returns:
      the value of the timeout record component
    • worker

      public String worker()
      Returns the value of the worker record component.
      Returns:
      the value of the worker record component
    • fetchVariable

      public List<String> fetchVariable()
      Returns the value of the fetchVariable record component.
      Returns:
      the value of the fetchVariable record component
    • requestTimeout

      public long requestTimeout()
      Returns the value of the requestTimeout record component.
      Returns:
      the value of the requestTimeout record component