java.lang.Object
java.lang.Record
org.yamcs.parameter.ParameterRetrievalOptions
public record ParameterRetrievalOptions(long start, long stop, boolean ascending, boolean retrieveEngValues, boolean retrieveRawValues, boolean retrieveParameterStatus, boolean norealtime, boolean noparchive, boolean noreplay, org.yamcs.protobuf.Yamcs.PacketReplayRequest packetReplayRequest)
extends Record
Contains retrieval options used when retrieving parameters.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionParameterRetrievalOptions(long start, long stop, boolean ascending, boolean retrieveEngValues, boolean retrieveRawValues, boolean retrieveParameterStatus, boolean norealtime, boolean noparchive, boolean noreplay, org.yamcs.protobuf.Yamcs.PacketReplayRequest packetReplayRequest) Creates an instance of aParameterRetrievalOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theascendingrecord 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 thenoparchiverecord component.booleanReturns the value of thenorealtimerecord component.booleannoreplay()Returns the value of thenoreplayrecord component.org.yamcs.protobuf.Yamcs.PacketReplayRequestReturns the value of thepacketReplayRequestrecord component.booleanReturns the value of theretrieveEngValuesrecord component.booleanReturns the value of theretrieveParameterStatusrecord component.booleanReturns the value of theretrieveRawValuesrecord component.longstart()Returns the value of thestartrecord component.longstop()Returns the value of thestoprecord component.final StringtoString()Returns a string representation of this record class.withUpdatedStart(long newStart) withUpdatedStop(long newStop)
-
Constructor Details
-
ParameterRetrievalOptions
public ParameterRetrievalOptions(long start, long stop, boolean ascending, boolean retrieveEngValues, boolean retrieveRawValues, boolean retrieveParameterStatus, boolean norealtime, boolean noparchive, boolean noreplay, org.yamcs.protobuf.Yamcs.PacketReplayRequest packetReplayRequest) Creates an instance of aParameterRetrievalOptionsrecord class.- Parameters:
start- the value for thestartrecord componentstop- the value for thestoprecord componentascending- the value for theascendingrecord componentretrieveEngValues- the value for theretrieveEngValuesrecord componentretrieveRawValues- the value for theretrieveRawValuesrecord componentretrieveParameterStatus- the value for theretrieveParameterStatusrecord componentnorealtime- the value for thenorealtimerecord componentnoparchive- the value for thenoparchiverecord componentnoreplay- the value for thenoreplayrecord componentpacketReplayRequest- the value for thepacketReplayRequestrecord component
-
-
Method Details
-
toBuilder
-
withUpdatedStart
-
withUpdatedStop
-
newBuilder
-
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 '=='. -
start
public long start()Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
stop
public long stop()Returns the value of thestoprecord component.- Returns:
- the value of the
stoprecord component
-
ascending
public boolean ascending()Returns the value of theascendingrecord component.- Returns:
- the value of the
ascendingrecord component
-
retrieveEngValues
public boolean retrieveEngValues()Returns the value of theretrieveEngValuesrecord component.- Returns:
- the value of the
retrieveEngValuesrecord component
-
retrieveRawValues
public boolean retrieveRawValues()Returns the value of theretrieveRawValuesrecord component.- Returns:
- the value of the
retrieveRawValuesrecord component
-
retrieveParameterStatus
public boolean retrieveParameterStatus()Returns the value of theretrieveParameterStatusrecord component.- Returns:
- the value of the
retrieveParameterStatusrecord component
-
norealtime
public boolean norealtime()Returns the value of thenorealtimerecord component.- Returns:
- the value of the
norealtimerecord component
-
noparchive
public boolean noparchive()Returns the value of thenoparchiverecord component.- Returns:
- the value of the
noparchiverecord component
-
noreplay
public boolean noreplay()Returns the value of thenoreplayrecord component.- Returns:
- the value of the
noreplayrecord component
-
packetReplayRequest
public org.yamcs.protobuf.Yamcs.PacketReplayRequest packetReplayRequest()Returns the value of thepacketReplayRequestrecord component.- Returns:
- the value of the
packetReplayRequestrecord component
-