Record Class SimulationParams<T>

java.lang.Object
java.lang.Record
com.evolveum.midpoint.gui.impl.page.admin.simulation.component.SimulationParams<T>
All Implemented Interfaces:
Serializable

public record SimulationParams<T>(@NotNull PageBase pageBase, @NotNull ResourceType resource, @NotNull ResourceObjectTypeDefinitionType definition, @NotNull ResourceTaskFlavor<T> flavor, T workDefinitionConfiguration, @NotNull ExecutionModeType executionMode) extends Record implements Serializable
See Also:
  • Constructor Details

    • SimulationParams

      public SimulationParams(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull ResourceType resource, @NotNull @NotNull ResourceObjectTypeDefinitionType definition, @NotNull @NotNull ResourceTaskFlavor<T> flavor, @Nullable T workDefinitionConfiguration, @NotNull @NotNull ExecutionModeType executionMode)
      Creates an instance of a SimulationParams record class.
      Parameters:
      pageBase - the value for the pageBase record component
      resource - the value for the resource record component
      definition - the value for the definition record component
      flavor - the value for the flavor record component
      workDefinitionConfiguration - the value for the workDefinitionConfiguration record component
      executionMode - the value for the executionMode 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.
    • pageBase

      @NotNull public @NotNull PageBase pageBase()
      Returns the value of the pageBase record component.
      Returns:
      the value of the pageBase record component
    • resource

      @NotNull public @NotNull ResourceType resource()
      Returns the value of the resource record component.
      Returns:
      the value of the resource record component
    • definition

      @NotNull public @NotNull ResourceObjectTypeDefinitionType definition()
      Returns the value of the definition record component.
      Returns:
      the value of the definition record component
    • flavor

      @NotNull public @NotNull ResourceTaskFlavor<T> flavor()
      Returns the value of the flavor record component.
      Returns:
      the value of the flavor record component
    • workDefinitionConfiguration

      @Nullable public T workDefinitionConfiguration()
      Returns the value of the workDefinitionConfiguration record component.
      Returns:
      the value of the workDefinitionConfiguration record component
    • executionMode

      @NotNull public @NotNull ExecutionModeType executionMode()
      Returns the value of the executionMode record component.
      Returns:
      the value of the executionMode record component