Package ch.so.agi.gretl.lsp.overview
Record Class TaskGraphNode
java.lang.Object
java.lang.Record
ch.so.agi.gretl.lsp.overview.TaskGraphNode
-
Constructor Summary
ConstructorsConstructorDescriptionTaskGraphNode(String taskName, String taskType, org.eclipse.lsp4j.Range range, NodeStatus status, List<String> missingRequiredProperties, int diagnosticCount) Creates an instance of aTaskGraphNoderecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thediagnosticCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themissingRequiredPropertiesrecord component.org.eclipse.lsp4j.Rangerange()Returns the value of therangerecord component.status()Returns the value of thestatusrecord component.taskName()Returns the value of thetaskNamerecord component.taskType()Returns the value of thetaskTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TaskGraphNode
public TaskGraphNode(String taskName, String taskType, org.eclipse.lsp4j.Range range, NodeStatus status, List<String> missingRequiredProperties, int diagnosticCount) Creates an instance of aTaskGraphNoderecord class.- Parameters:
taskName- the value for thetaskNamerecord componenttaskType- the value for thetaskTyperecord componentrange- the value for therangerecord componentstatus- the value for thestatusrecord componentmissingRequiredProperties- the value for themissingRequiredPropertiesrecord componentdiagnosticCount- the value for thediagnosticCountrecord 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 '=='. -
taskName
Returns the value of thetaskNamerecord component.- Returns:
- the value of the
taskNamerecord component
-
taskType
Returns the value of thetaskTyperecord component.- Returns:
- the value of the
taskTyperecord component
-
range
public org.eclipse.lsp4j.Range range()Returns the value of therangerecord component.- Returns:
- the value of the
rangerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
missingRequiredProperties
Returns the value of themissingRequiredPropertiesrecord component.- Returns:
- the value of the
missingRequiredPropertiesrecord component
-
diagnosticCount
public int diagnosticCount()Returns the value of thediagnosticCountrecord component.- Returns:
- the value of the
diagnosticCountrecord component
-