Record Class ActiveExecutableResponse

java.lang.Object
java.lang.Record
io.camunda.connector.runtime.inbound.executable.ActiveExecutableResponse

public record ActiveExecutableResponse(UUID executableId, Class<? extends io.camunda.connector.api.inbound.InboundConnectorExecutable> executableClass, List<InboundConnectorElement> elements, io.camunda.connector.api.inbound.Health health, Collection<io.camunda.connector.api.inbound.Activity> logs) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    ActiveExecutableResponse(UUID executableId, Class<? extends io.camunda.connector.api.inbound.InboundConnectorExecutable> executableClass, List<InboundConnectorElement> elements, io.camunda.connector.api.inbound.Health health, Collection<io.camunda.connector.api.inbound.Activity> logs)
    Creates an instance of a ActiveExecutableResponse record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the elements record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Class<? extends io.camunda.connector.api.inbound.InboundConnectorExecutable>
    Returns the value of the executableClass record component.
    Returns the value of the executableId record component.
    final int
    Returns a hash code value for this object.
    io.camunda.connector.api.inbound.Health
    Returns the value of the health record component.
    Collection<io.camunda.connector.api.inbound.Activity>
    Returns the value of the logs record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ActiveExecutableResponse

      public ActiveExecutableResponse(UUID executableId, Class<? extends io.camunda.connector.api.inbound.InboundConnectorExecutable> executableClass, List<InboundConnectorElement> elements, io.camunda.connector.api.inbound.Health health, Collection<io.camunda.connector.api.inbound.Activity> logs)
      Creates an instance of a ActiveExecutableResponse record class.
      Parameters:
      executableId - the value for the executableId record component
      executableClass - the value for the executableClass record component
      elements - the value for the elements record component
      health - the value for the health record component
      logs - the value for the logs 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • executableId

      public UUID executableId()
      Returns the value of the executableId record component.
      Returns:
      the value of the executableId record component
    • executableClass

      public Class<? extends io.camunda.connector.api.inbound.InboundConnectorExecutable> executableClass()
      Returns the value of the executableClass record component.
      Returns:
      the value of the executableClass record component
    • elements

      public List<InboundConnectorElement> elements()
      Returns the value of the elements record component.
      Returns:
      the value of the elements record component
    • health

      public io.camunda.connector.api.inbound.Health health()
      Returns the value of the health record component.
      Returns:
      the value of the health record component
    • logs

      public Collection<io.camunda.connector.api.inbound.Activity> logs()
      Returns the value of the logs record component.
      Returns:
      the value of the logs record component