Record Class TurJobItemWithSession
java.lang.Object
java.lang.Record
com.viglet.turing.connector.commons.domain.TurJobItemWithSession
public record TurJobItemWithSession(TurSNJobItem turSNJobItem, TurConnectorSession session, Set<String> dependencies, boolean standalone)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTurJobItemWithSession(TurSNJobItem turSNJobItem, TurConnectorSession session, Set<String> dependencies, boolean standalone) Creates an instance of aTurJobItemWithSessionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedependenciesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.session()Returns the value of thesessionrecord component.booleanReturns the value of thestandalonerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theturSNJobItemrecord component.
-
Constructor Details
-
TurJobItemWithSession
public TurJobItemWithSession(TurSNJobItem turSNJobItem, TurConnectorSession session, Set<String> dependencies, boolean standalone) Creates an instance of aTurJobItemWithSessionrecord class.- Parameters:
turSNJobItem- the value for theturSNJobItemrecord componentsession- the value for thesessionrecord componentdependencies- the value for thedependenciesrecord componentstandalone- the value for thestandalonerecord 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 '=='. -
turSNJobItem
Returns the value of theturSNJobItemrecord component.- Returns:
- the value of the
turSNJobItemrecord component
-
session
Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-
dependencies
Returns the value of thedependenciesrecord component.- Returns:
- the value of the
dependenciesrecord component
-
standalone
public boolean standalone()Returns the value of thestandalonerecord component.- Returns:
- the value of the
standalonerecord component
-