Record Class ReportCompletionDetails
java.lang.Object
java.lang.Record
com.inductiveautomation.reporting.common.resource.ReportCompletionDetails
- Record Components:
projectName- The name of the project.reportPath- The path to the report.completionDate- The date and time the report completed.isScheduledRun- Whether this was a scheduled run.
-
Constructor Summary
ConstructorsConstructorDescriptionReportCompletionDetails(String projectName, String reportPath, Date completionDate, boolean isScheduledRun) Creates an instance of aReportCompletionDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompletionDaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisScheduledRunrecord component.Returns the value of theprojectNamerecord component.Returns the value of thereportPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReportCompletionDetails
public ReportCompletionDetails(String projectName, String reportPath, Date completionDate, boolean isScheduledRun) Creates an instance of aReportCompletionDetailsrecord class.- Parameters:
projectName- the value for theprojectNamerecord componentreportPath- the value for thereportPathrecord componentcompletionDate- the value for thecompletionDaterecord componentisScheduledRun- the value for theisScheduledRunrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
projectName
Returns the value of theprojectNamerecord component.- Returns:
- the value of the
projectNamerecord component
-
reportPath
Returns the value of thereportPathrecord component.- Returns:
- the value of the
reportPathrecord component
-
completionDate
Returns the value of thecompletionDaterecord component.- Returns:
- the value of the
completionDaterecord component
-
isScheduledRun
public boolean isScheduledRun()Returns the value of theisScheduledRunrecord component.- Returns:
- the value of the
isScheduledRunrecord component
-