Record Class AcmeControlStore.Graph
java.lang.Object
java.lang.Record
zeroecho.pki.server.acme.AcmeControlStore.Graph
- Record Components:
order- sealed order record- sealed order authorizationschallenges- sealed authorization challenges
- Enclosing class:
AcmeControlStore
public static record AcmeControlStore.Graph(AcmeState.Order order, List<AcmeState.Authorization> authorizations, List<AcmeState.Challenge> challenges)
extends Record
Immutable atomically committed order graph.
-
Constructor Summary
ConstructorsConstructorDescriptionGraph(AcmeState.Order order, List<AcmeState.Authorization> authorizations, List<AcmeState.Challenge> challenges) Defensively snapshots the graph. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorizationsrecord component.Returns the value of thechallengesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.order()Returns the value of theorderrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Graph
public Graph(AcmeState.Order order, List<AcmeState.Authorization> authorizations, List<AcmeState.Challenge> challenges) Defensively snapshots the graph.
-
-
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). -
order
-
authorizations
Returns the value of theauthorizationsrecord component.- Returns:
- the value of the
authorizationsrecord component
-
challenges
Returns the value of thechallengesrecord component.- Returns:
- the value of the
challengesrecord component
-