Class ToolInvocationLogDetails
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.tools.ToolInvocationLogDetails
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class ToolInvocationLogDetails
extends Object
This class represents a data structure that contains information that should
be used when logging launch and completion messages for a tool invocation.
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.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the name of the command (without any path information) for the associated tool.Retrieves the unique identifier to use to correlate the launch and completion messages for the tool invocation, if available.Retrieves an unmodifiable set of the files in which launch and completion log messages should be recorded for the tool invocation.Retrieves a print stream that may be used to report information about any problems encountered while attempting to perform invocation logging.booleanIndicates whether launch and completion messages should be logged for the tool.toString()Retrieves a string representation of this tool invocation log details object.voidtoString(StringBuilder buffer) Appends a string representation of this tool invocation log details object to the provided buffer.
-
Method Details
-
getCommandName
Retrieves the name of the command (without any path information) for the associated tool.- Returns:
- The name of the command for the associated tool.
-
logInvocation
Indicates whether launch and completion messages should be logged for the tool.- Returns:
trueif the messages should be logged, orfalseif not.
-
getInvocationID
Retrieves the unique identifier to use to correlate the launch and completion messages for the tool invocation, if available.- Returns:
- The unique identifier to use to correlate the launch and completion messages for the tool invocation, or an empty string if no invocation logging should be performed for the tool.
-
getLogFiles
Retrieves an unmodifiable set of the files in which launch and completion log messages should be recorded for the tool invocation.- Returns:
- An unmodifiable set of the files in which launch and completion log messages should be recorded for the tool invocation. It may be empty if no invocation logging should be performed.
-
getToolErrorStream
Retrieves a print stream that may be used to report information about any problems encountered while attempting to perform invocation logging.- Returns:
- A print stream that may be used to report information about any problems encountered while attempting to perform invocation logging.
-
toString
Retrieves a string representation of this tool invocation log details object. -
toString
Appends a string representation of this tool invocation log details object to the provided buffer.- Parameters:
buffer- The buffer to which the string representation should be appended.
-