Record Class PermissionManifestClient.StartupResult
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.manifest.PermissionManifestClient.StartupResult
- Enclosing class:
PermissionManifestClient
public static record PermissionManifestClient.StartupResult(boolean networkAttempted, boolean continued, PermissionManifestClient.Result result)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionStartupResult(boolean networkAttempted, boolean continued, PermissionManifestClient.Result result) Creates an instance of aStartupResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecontinuedrecord 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 thenetworkAttemptedrecord component.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StartupResult
public StartupResult(boolean networkAttempted, boolean continued, PermissionManifestClient.Result result) Creates an instance of aStartupResultrecord class.- Parameters:
networkAttempted- the value for thenetworkAttemptedrecord componentcontinued- the value for thecontinuedrecord componentresult- the value for theresultrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
networkAttempted
public boolean networkAttempted()Returns the value of thenetworkAttemptedrecord component.- Returns:
- the value of the
networkAttemptedrecord component
-
continued
public boolean continued()Returns the value of thecontinuedrecord component.- Returns:
- the value of the
continuedrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-