Record Class AgentTestStatus
java.lang.Object
java.lang.Record
io.fluxzero.devserver.AgentTestStatus
public record AgentTestStatus(AgentCursor cursor, DevSession.ServiceStatus tests, DevSession.ServiceStatus commands)
extends Record
Current background-test and startup-command status.
-
Constructor Summary
ConstructorsConstructorDescriptionAgentTestStatus(AgentCursor cursor, DevSession.ServiceStatus tests, DevSession.ServiceStatus commands) Creates an instance of aAgentTestStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncommands()Returns the value of thecommandsrecord component.cursor()Returns the value of thecursorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.tests()Returns the value of thetestsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AgentTestStatus
public AgentTestStatus(AgentCursor cursor, DevSession.ServiceStatus tests, DevSession.ServiceStatus commands) Creates an instance of aAgentTestStatusrecord class.- Parameters:
cursor- the value for thecursorrecord componenttests- the value for thetestsrecord componentcommands- the value for thecommandsrecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
cursor
Returns the value of thecursorrecord component.- Returns:
- the value of the
cursorrecord component
-
tests
Returns the value of thetestsrecord component.- Returns:
- the value of the
testsrecord component
-
commands
Returns the value of thecommandsrecord component.- Returns:
- the value of the
commandsrecord component
-