Record Class CocoCampaignSnapshot
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.coco.model.CocoCampaignSnapshot
public record CocoCampaignSnapshot(String campaignId, String name, String suite, String status, String createdAt, String startedAt, String finishedAt, String dimensionsJson, String instancesJson, String functionsJson, String notes, List<CocoOptimizerRow> optimizers, List<CocoAggregateRow> aggregates, List<CocoTrialRow> trials)
extends Record
Rich campaign snapshot used by HTML report generation.
-
Constructor Summary
ConstructorsConstructorDescriptionCocoCampaignSnapshot(String campaignId, String name, String suite, String status, String createdAt, String startedAt, String finishedAt, String dimensionsJson, String instancesJson, String functionsJson, String notes, List<CocoOptimizerRow> optimizers, List<CocoAggregateRow> aggregates, List<CocoTrialRow> trials) Creates an instance of aCocoCampaignSnapshotrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregatesrecord component.Returns the value of thecampaignIdrecord component.Returns the value of thecreatedAtrecord component.Returns the value of thedimensionsJsonrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefinishedAtrecord component.Returns the value of thefunctionsJsonrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinstancesJsonrecord component.name()Returns the value of thenamerecord component.notes()Returns the value of thenotesrecord component.Returns the value of theoptimizersrecord component.Returns the value of thestartedAtrecord component.status()Returns the value of thestatusrecord component.suite()Returns the value of thesuiterecord component.final StringtoString()Returns a string representation of this record class.trials()Returns the value of thetrialsrecord component.
-
Constructor Details
-
CocoCampaignSnapshot
public CocoCampaignSnapshot(String campaignId, String name, String suite, String status, String createdAt, String startedAt, String finishedAt, String dimensionsJson, String instancesJson, String functionsJson, String notes, List<CocoOptimizerRow> optimizers, List<CocoAggregateRow> aggregates, List<CocoTrialRow> trials) Creates an instance of aCocoCampaignSnapshotrecord class.- Parameters:
campaignId- the value for thecampaignIdrecord componentname- the value for thenamerecord componentsuite- the value for thesuiterecord componentstatus- the value for thestatusrecord componentcreatedAt- the value for thecreatedAtrecord componentstartedAt- the value for thestartedAtrecord componentfinishedAt- the value for thefinishedAtrecord componentdimensionsJson- the value for thedimensionsJsonrecord componentinstancesJson- the value for theinstancesJsonrecord componentfunctionsJson- the value for thefunctionsJsonrecord componentnotes- the value for thenotesrecord componentoptimizers- the value for theoptimizersrecord componentaggregates- the value for theaggregatesrecord componenttrials- the value for thetrialsrecord component
-
-
Method Details
-
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). -
campaignId
Returns the value of thecampaignIdrecord component.- Returns:
- the value of the
campaignIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
suite
Returns the value of thesuiterecord component.- Returns:
- the value of the
suiterecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
createdAt
Returns the value of thecreatedAtrecord component.- Returns:
- the value of the
createdAtrecord component
-
startedAt
Returns the value of thestartedAtrecord component.- Returns:
- the value of the
startedAtrecord component
-
finishedAt
Returns the value of thefinishedAtrecord component.- Returns:
- the value of the
finishedAtrecord component
-
dimensionsJson
Returns the value of thedimensionsJsonrecord component.- Returns:
- the value of the
dimensionsJsonrecord component
-
instancesJson
Returns the value of theinstancesJsonrecord component.- Returns:
- the value of the
instancesJsonrecord component
-
functionsJson
Returns the value of thefunctionsJsonrecord component.- Returns:
- the value of the
functionsJsonrecord component
-
notes
Returns the value of thenotesrecord component.- Returns:
- the value of the
notesrecord component
-
optimizers
Returns the value of theoptimizersrecord component.- Returns:
- the value of the
optimizersrecord component
-
aggregates
Returns the value of theaggregatesrecord component.- Returns:
- the value of the
aggregatesrecord component
-
trials
Returns the value of thetrialsrecord component.- Returns:
- the value of the
trialsrecord component
-