Record Class ReportCompletionDetails
java.lang.Object
java.lang.Record
com.inductiveautomation.reporting.common.resource.ReportCompletionDetails
public record ReportCompletionDetails(String projectName, String reportPath, Date completionDate, boolean isScheduledRun)
extends Record
Used to let the Gateway send a push notification to projects when the report completes execution
-
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
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
-