Record Class OpenSearchClientWrapper.OpenSearchStatus
java.lang.Object
java.lang.Record
ai.attackframework.tools.burp.utils.opensearch.OpenSearchClientWrapper.OpenSearchStatus
- Enclosing class:
OpenSearchClientWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthenticationStatusrecord component.Returns the value of theconnectionStatusrecord component.Returns the value of thedistributionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns a multi-line status summary suitable for the Config destination status panel.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.booleansuccess()Returns the value of thesuccessrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetrustStatusrecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
OpenSearchStatus
public OpenSearchStatus(boolean success, String distribution, String version, String message, String connectionStatus, String authenticationStatus, String trustStatus) Creates an instance of aOpenSearchStatusrecord class.- Parameters:
success- the value for thesuccessrecord componentdistribution- the value for thedistributionrecord componentversion- the value for theversionrecord componentmessage- the value for themessagerecord componentconnectionStatus- the value for theconnectionStatusrecord componentauthenticationStatus- the value for theauthenticationStatusrecord componenttrustStatus- the value for thetrustStatusrecord component
-
-
Method Details
-
formattedStatus
Returns a multi-line status summary suitable for the Config destination status panel. -
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 '=='. -
success
public boolean success()Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-
distribution
Returns the value of thedistributionrecord component.- Returns:
- the value of the
distributionrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
connectionStatus
Returns the value of theconnectionStatusrecord component.- Returns:
- the value of the
connectionStatusrecord component
-
authenticationStatus
Returns the value of theauthenticationStatusrecord component.- Returns:
- the value of the
authenticationStatusrecord component
-
trustStatus
Returns the value of thetrustStatusrecord component.- Returns:
- the value of the
trustStatusrecord component
-