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 aReportCompletionDetails
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompletionDate
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theisScheduledRun
record component.Returns the value of theprojectName
record component.Returns the value of thereportPath
record component.final String
toString()
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 aReportCompletionDetails
record class.- Parameters:
projectName
- the value for theprojectName
record componentreportPath
- the value for thereportPath
record componentcompletionDate
- the value for thecompletionDate
record componentisScheduledRun
- the value for theisScheduledRun
record 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 theprojectName
record component.- Returns:
- the value of the
projectName
record component
-
reportPath
Returns the value of thereportPath
record component.- Returns:
- the value of the
reportPath
record component
-
completionDate
Returns the value of thecompletionDate
record component.- Returns:
- the value of the
completionDate
record component
-
isScheduledRun
public boolean isScheduledRun()Returns the value of theisScheduledRun
record component.- Returns:
- the value of the
isScheduledRun
record component
-