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 Summary
ConstructorsConstructorDescriptionSimulationParams(@NotNull PageBase pageBase, @NotNull ResourceType resource, @NotNull ResourceObjectTypeDefinitionType definition, @NotNull ResourceTaskFlavor<T> flavor, T workDefinitionConfiguration, @NotNull ExecutionModeType executionMode) Creates an instance of aSimulationParamsrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull ResourceObjectTypeDefinitionTypeReturns the value of thedefinitionrecord component.final booleanIndicates whether some other object is "equal to" this one.@NotNull ExecutionModeTypeReturns the value of theexecutionModerecord component.@NotNull ResourceTaskFlavor<T>flavor()Returns the value of theflavorrecord component.final inthashCode()Returns a hash code value for this object.@NotNull PageBasepageBase()Returns the value of thepageBaserecord component.@NotNull ResourceTyperesource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkDefinitionConfigurationrecord component.
-
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 aSimulationParamsrecord class.- Parameters:
pageBase- the value for thepageBaserecord componentresource- the value for theresourcerecord componentdefinition- the value for thedefinitionrecord componentflavor- the value for theflavorrecord componentworkDefinitionConfiguration- the value for theworkDefinitionConfigurationrecord componentexecutionMode- the value for theexecutionModerecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
pageBase
Returns the value of thepageBaserecord component.- Returns:
- the value of the
pageBaserecord component
-
resource
Returns the value of theresourcerecord component.- Returns:
- the value of the
resourcerecord component
-
definition
Returns the value of thedefinitionrecord component.- Returns:
- the value of the
definitionrecord component
-
flavor
Returns the value of theflavorrecord component.- Returns:
- the value of the
flavorrecord component
-
workDefinitionConfiguration
Returns the value of theworkDefinitionConfigurationrecord component.- Returns:
- the value of the
workDefinitionConfigurationrecord component
-
executionMode
Returns the value of theexecutionModerecord component.- Returns:
- the value of the
executionModerecord component
-