Record Class AutoconfigRunState.EvaluationView

java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.service.AutoconfigRunState.EvaluationView
Enclosing class:
AutoconfigRunState

public static record AutoconfigRunState.EvaluationView(long id, String configurationId, String instanceId, String instanceName, long seed, AutoconfigRunState.EvaluationState state, Double cost, Double timeSeconds, Instant startedAt, Instant finishedAt, String reasonCode, String message, boolean slow, Long slowOverrunMillis) extends Record
  • Constructor Details

    • EvaluationView

      public EvaluationView(long id, String configurationId, String instanceId, String instanceName, long seed, AutoconfigRunState.EvaluationState state, Double cost, Double timeSeconds, Instant startedAt, Instant finishedAt, String reasonCode, String message, boolean slow, Long slowOverrunMillis)
      Creates an instance of a EvaluationView record class.
      Parameters:
      id - the value for the id record component
      configurationId - the value for the configurationId record component
      instanceId - the value for the instanceId record component
      instanceName - the value for the instanceName record component
      seed - the value for the seed record component
      state - the value for the state record component
      cost - the value for the cost record component
      timeSeconds - the value for the timeSeconds record component
      startedAt - the value for the startedAt record component
      finishedAt - the value for the finishedAt record component
      reasonCode - the value for the reasonCode record component
      message - the value for the message record component
      slow - the value for the slow record component
      slowOverrunMillis - the value for the slowOverrunMillis 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 the compare method from their corresponding wrapper classes.
      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.
    • id

      public long id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • configurationId

      public String configurationId()
      Returns the value of the configurationId record component.
      Returns:
      the value of the configurationId record component
    • instanceId

      public String instanceId()
      Returns the value of the instanceId record component.
      Returns:
      the value of the instanceId record component
    • instanceName

      public String instanceName()
      Returns the value of the instanceName record component.
      Returns:
      the value of the instanceName record component
    • seed

      public long seed()
      Returns the value of the seed record component.
      Returns:
      the value of the seed record component
    • state

      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • cost

      public Double cost()
      Returns the value of the cost record component.
      Returns:
      the value of the cost record component
    • timeSeconds

      public Double timeSeconds()
      Returns the value of the timeSeconds record component.
      Returns:
      the value of the timeSeconds record component
    • startedAt

      public Instant startedAt()
      Returns the value of the startedAt record component.
      Returns:
      the value of the startedAt record component
    • finishedAt

      public Instant finishedAt()
      Returns the value of the finishedAt record component.
      Returns:
      the value of the finishedAt record component
    • reasonCode

      public String reasonCode()
      Returns the value of the reasonCode record component.
      Returns:
      the value of the reasonCode record component
    • message

      public String message()
      Returns the value of the message record component.
      Returns:
      the value of the message record component
    • slow

      public boolean slow()
      Returns the value of the slow record component.
      Returns:
      the value of the slow record component
    • slowOverrunMillis

      public Long slowOverrunMillis()
      Returns the value of the slowOverrunMillis record component.
      Returns:
      the value of the slowOverrunMillis record component