@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class CollectSupportDataExtendedResult extends ExtendedResult
CollectSupportDataExtendedRequest
. Once this message has been
received, all processing for the associated request will be complete, and
there should not be any further
CollectSupportDataOutputIntermediateResponse
or
CollectSupportDataArchiveFragmentIntermediateResponse
messages.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
CollectSupportDataResponse ::= SEQUENCE { exitCode [0] INTEGER, ... }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLLECT_SUPPORT_DATA_RESULT_OID
The OID (1.3.6.1.4.1.30221.2.6.67) for the collect support data extended
result.
|
NO_CONTROLS
Constructor and Description |
---|
CollectSupportDataExtendedResult(ExtendedResult extendedResult)
Creates a new collect support data extended result that is decoded from
the provided generic extended result.
|
CollectSupportDataExtendedResult(int messageID,
ResultCode resultCode,
java.lang.String diagnosticMessage,
java.lang.String matchedDN,
java.lang.String[] referralURLs,
java.lang.Integer exitCode,
Control... controls)
Creates a new collect support data extended result with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getExitCode()
Retrieves the exit code returned when the collect-support-data tool
completed.
|
java.lang.String |
getExtendedResultName()
Retrieves the user-friendly name for the extended result, if available.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this extended response to the provided
buffer.
|
getOID, getValue, hasValue, toString
getDiagnosticMessage, getMatchedDN, getMessageID, getOperationType, getReferralURLs, getResponseControl, getResponseControls, getResultCode, getResultString, hasResponseControl, hasResponseControl
@NotNull public static final java.lang.String COLLECT_SUPPORT_DATA_RESULT_OID
public CollectSupportDataExtendedResult(int messageID, @NotNull ResultCode resultCode, @Nullable java.lang.String diagnosticMessage, @Nullable java.lang.String matchedDN, @Nullable java.lang.String[] referralURLs, @Nullable java.lang.Integer exitCode, @Nullable Control... controls)
messageID
- The LDAP message ID for this extended result.resultCode
- The result code for this extended result. It
must not be null
.diagnosticMessage
- The diagnostic message for this extended result.
It may be null
if no diagnostic message
should be included.matchedDN
- The matched DN for this extended result. It may
be null
if no matched DN should be
included.referralURLs
- The set of referral URLs for this extended
result. It may be null
or empty if no
referral URLs should be included.exitCode
- The exit code returned when the
collect-support-data tool completed. This may
be null
if extended operation processing
failed before the collect-support-data tool
could complete.controls
- The set of controls to include in the extended
result. It may be [@code null} or empty if no
controls should be included.public CollectSupportDataExtendedResult(@NotNull ExtendedResult extendedResult) throws LDAPException
extendedResult
- The generic extended result to be decoded as a
collect support data extended result. It must not
be null
.LDAPException
- If the provided generic extended result cannot be
decoded as a collect support data extended result.@Nullable public java.lang.Integer getExitCode()
null
if extended operation processing
failed before the collect-support-data tool could complete.@NotNull public java.lang.String getExtendedResultName()
null
will be returned.getExtendedResultName
in class ExtendedResult
null
if neither a user-friendly name nor a response OID
are available.public void toString(@NotNull java.lang.StringBuilder buffer)
toString
in interface LDAPResponse
toString
in class ExtendedResult
buffer
- The buffer to which a string representation of this
extended response will be appended.