Record Class EngineGraphClient.ActiveGraph
java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.grpc.EngineGraphClient.ActiveGraph
- Record Components:
graphId- the active graph's idversion- the active graph's versioncreated- true if this call created and activated the graph, false if an already-active graph was reused
- Enclosing class:
EngineGraphClient
public static record EngineGraphClient.ActiveGraph(String graphId, int version, boolean created)
extends Record
Outcome of
EngineGraphClient.getOrCreateActiveGraph(PipelineGraph, String, String, String): the active graph's id and
version, plus whether this call created it.-
Constructor Summary
ConstructorsConstructorDescriptionActiveGraph(String graphId, int version, boolean created) Creates an instance of aActiveGraphrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleancreated()Returns the value of thecreatedrecord component.final booleanIndicates whether some other object is "equal to" this one.graphId()Returns the value of thegraphIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.intversion()Returns the value of theversionrecord component.
-
Constructor Details
-
ActiveGraph
-
-
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. -
graphId
-
version
-
created
-