Record Class PollingAutomationPerTableRunner.ShardedTableActions
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.actions.automation.polling.PollingAutomationPerTableRunner.ShardedTableActions
- All Implemented Interfaces:
PollingAutomationPerTableRunner.TableActionsInterface
- Enclosing class:
PollingAutomationPerTableRunner
public static record PollingAutomationPerTableRunner.ShardedTableActions(String tableName, QTableAutomationDetails tableAutomationDetails, AutomationStatus status, String shardByFieldName, Serializable shardValue, String shardLabel)
extends Record
implements PollingAutomationPerTableRunner.TableActionsInterface
extended version of TableAction, for sharding use-case - adds the shard
details.
-
Constructor Summary
ConstructorsConstructorDescriptionShardedTableActions
(String tableName, QTableAutomationDetails tableAutomationDetails, AutomationStatus status, String shardByFieldName, Serializable shardValue, String shardLabel) Creates an instance of aShardedTableActions
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.void
Returns the value of theshardByFieldName
record component.Returns the value of theshardLabel
record component.Returns the value of theshardValue
record component.status()
Returns the value of thestatus
record component.Returns the value of thetableAutomationDetails
record component.Returns the value of thetableName
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ShardedTableActions
public ShardedTableActions(String tableName, QTableAutomationDetails tableAutomationDetails, AutomationStatus status, String shardByFieldName, Serializable shardValue, String shardLabel) Creates an instance of aShardedTableActions
record class.- Parameters:
tableName
- the value for thetableName
record componenttableAutomationDetails
- the value for thetableAutomationDetails
record componentstatus
- the value for thestatus
record componentshardByFieldName
- the value for theshardByFieldName
record componentshardValue
- the value for theshardValue
record componentshardLabel
- the value for theshardLabel
record component
-
-
Method Details
-
noopToFakeTestCoverage
public void noopToFakeTestCoverage() -
toString
-
hashCode
-
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)
. -
tableName
Returns the value of thetableName
record component.- Specified by:
tableName
in interfacePollingAutomationPerTableRunner.TableActionsInterface
- Returns:
- the value of the
tableName
record component
-
tableAutomationDetails
Returns the value of thetableAutomationDetails
record component.- Specified by:
tableAutomationDetails
in interfacePollingAutomationPerTableRunner.TableActionsInterface
- Returns:
- the value of the
tableAutomationDetails
record component
-
status
Returns the value of thestatus
record component.- Specified by:
status
in interfacePollingAutomationPerTableRunner.TableActionsInterface
- Returns:
- the value of the
status
record component
-
shardByFieldName
Returns the value of theshardByFieldName
record component.- Returns:
- the value of the
shardByFieldName
record component
-
shardValue
Returns the value of theshardValue
record component.- Returns:
- the value of the
shardValue
record component
-
shardLabel
Returns the value of theshardLabel
record component.- Returns:
- the value of the
shardLabel
record component
-