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 aShardedTableActionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidReturns the value of theshardByFieldNamerecord component.Returns the value of theshardLabelrecord component.Returns the value of theshardValuerecord component.status()Returns the value of thestatusrecord component.Returns the value of thetableAutomationDetailsrecord component.Returns the value of thetableNamerecord component.final StringtoString()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 aShardedTableActionsrecord class.- Parameters:
tableName- the value for thetableNamerecord componenttableAutomationDetails- the value for thetableAutomationDetailsrecord componentstatus- the value for thestatusrecord componentshardByFieldName- the value for theshardByFieldNamerecord componentshardValue- the value for theshardValuerecord componentshardLabel- the value for theshardLabelrecord 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 thetableNamerecord component.- Specified by:
tableNamein interfacePollingAutomationPerTableRunner.TableActionsInterface- Returns:
- the value of the
tableNamerecord component
-
tableAutomationDetails
Returns the value of thetableAutomationDetailsrecord component.- Specified by:
tableAutomationDetailsin interfacePollingAutomationPerTableRunner.TableActionsInterface- Returns:
- the value of the
tableAutomationDetailsrecord component
-
status
Returns the value of thestatusrecord component.- Specified by:
statusin interfacePollingAutomationPerTableRunner.TableActionsInterface- Returns:
- the value of the
statusrecord component
-
shardByFieldName
Returns the value of theshardByFieldNamerecord component.- Returns:
- the value of the
shardByFieldNamerecord component
-
shardValue
Returns the value of theshardValuerecord component.- Returns:
- the value of the
shardValuerecord component
-
shardLabel
Returns the value of theshardLabelrecord component.- Returns:
- the value of the
shardLabelrecord component
-