Class CollectSupportDataTaskProperties

java.lang.Object
com.unboundid.ldap.sdk.unboundidds.tasks.CollectSupportDataTaskProperties
All Implemented Interfaces:
Serializable

This class defines a set of properties that may be used when creating a CollectSupportDataTask.
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.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new set of collect support data task properties without any of the properties set (so that the server will use default values for all of them).
    Creates a new set of collect support data task properties set from the provided task instance.
    Creates a new set of collect support data task properties as a copy of the provided properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the flag that indicates whether the server should send an administrative alert notification if the task does not complete successfully.
    Retrieves the flag that indicates whether the server should send an administrative alert notification when the task starts running.
    Retrieves the flag that indicates whether the server should send an administrative alert notification if the task completes successfully.
    Retrieves an additional comment that should be included in the support data archive.
    Retrieves the task IDs for any tasks that must complete before the new collect support data task will be eligible to start running.
    Retrieves the path on the server filesystem to a file that contains the passphrase to use to encrypt the support data archive.
    Retrieves the action that the server should take if any of the tasks on which the new task depends did not complete successfully.
    Retrieves the value of a flag that indicates whether the support data archive may include binary files.
    Retrieves the value of a flag that indicates whether the support data archive may include data that is potentially expensive to collect and could affect the performance or responsiveness of the server.
    Retrieves the value of a flag that indicates whether the support data archive should include source code (if available) for any third-party extensions installed in the server.
    Retrieves the value of a flag that indicates whether the support data archive may include a replication state dump, which may be several megabytes in size.
    Retrieves the number of times that the jstack utility should be invoked to obtain stack traces from all threads in the server.
    Retrieves a string representation of the duration (up until the time that the collect support data task is invoked) of log content that should be included in the support data archive.
    Retrieves a parsed value of the log duration in milliseconds.
    Retrieves the end time for the range of log messages to include in the support data archive.
    Retrieves the amount of data in kilobytes to capture from the beginning of each log file that should be included in the support data archive.
    Retrieves the amount of data in kilobytes to capture from the end of each log file that should be included in the support data archive.
    Retrieves the start time for the range of log messages to include in the support data archive.
    Retrieves the addresses to email whenever the task completes, regardless of its success or failure.
    Retrieves the addresses to email if the task does not complete successfully.
    Retrieves the addresses to email whenever the task starts running.
    Retrieves the addresses to email if the task completes successfully.
    Retrieves the path on the server filesystem to which the support data archive should be written.
    Retrieves the number of intervals that should be captured from tools that use interval-based sampling (e.g., vmstat, iostat, mpstat, etc.).
    Retrieves the interval duration in seconds that should be used for tools that use interval-based sampling (e.g., vmstat, iostat, mpstat, etc.).
    Retrieves the minimum age of existing support data archives that should be retained.
    Retrieves a parsed value of the retain previous support data archive age in milliseconds.
    Retrieves the minimum number of existing support data archives that should be retained.
    Retrieves the earliest time that the task should be eligible to start running.
    Retrieves the security level that should be used to indicate which data should be obscured, redacted, or omitted from the support data archive.
    Retrieves the task ID that should be used for the task.
    Retrieves the value of a flag that indicates whether the server should collect items for the support data archive in sequential mode rather than in parallel.
    void
    setAlertOnError(Boolean alertOnError)
    Specifies the flag that indicates whether the server should send an administrative alert notification if the task does not complete successfully.
    void
    setAlertOnStart(Boolean alertOnStart)
    Specifies the flag that indicates whether the server should send an administrative alert notification when the task starts running.
    void
    setAlertOnSuccess(Boolean alertOnSuccess)
    Specifies the flag that indicates whether the server should send an administrative alert notification if the task completes successfully.
    void
    setComment(String comment)
    Specifies an additional comment that should be included in the support data archive.
    void
    setDependencyIDs(List<String> dependencyIDs)
    Specifies the task IDs for any tasks that must complete before the new collect support data task will be eligible to start running.
    void
    setEncryptionPassphraseFile(String encryptionPassphraseFile)
    Specifies the path on the server filesystem to a file that contains the passphrase to use to encrypt the support data archive.
    void
    Specifies the action that the server should take if any of the tasks on which the new task depends did not complete successfully.
    void
    setIncludeBinaryFiles(Boolean includeBinaryFiles)
    Specifies the value of a flag that that indicates whether the support data archive may include binary files.
    void
    setIncludeExpensiveData(Boolean includeExpensiveData)
    Specifies the value of a flag that indicates whether the support data archive may include data that is potentially expensive to collect and could affect the performance or responsiveness of the server.
    void
    setIncludeExtensionSource(Boolean includeExtensionSource)
    Specifies the value of a flag that indicates whether the support data archive should include source code (if available) for any third-party extensions installed in the server.
    void
    setIncludeReplicationStateDump(Boolean includeReplicationStateDump)
    Specifies the value of a flag that indicates whether the support data archive may include a replication state dump, which may be several megabytes in size.
    void
    setJStackCount(Integer jstackCount)
    Specifies the number of times that the jstack utility should be invoked to obtain stack traces from all threads in the server.
    void
    setLogDuration(String logDuration)
    Specifies the string representation of the duration (up until the time that the collect support data task is invoked) of log content that should be included in the support data archive.
    void
    setLogDurationMillis(Long logDurationMillis)
    Specifies the duration in milliseconds (up until the time that the collect support data task is invoked) of log content that should be included in the support data archive.
    void
    setLogFileHeadCollectionSizeKB(Integer logFileHeadCollectionSizeKB)
    Specifies the amount of data in kilobytes to capture from the beginning of each log file that should be included in the support data archive.
    void
    setLogFileTailCollectionSizeKB(Integer logFileTailCollectionSizeKB)
    Specifies the amount of data in kilobytes to capture from the end of each log file that should be included in the support data archive.
    void
    setLogTimeRange(Date logStartTime, Date logEndTime)
    Specifies the time range for log messages to include in the support data archive.
    void
    setNotifyOnCompletion(List<String> notifyOnCompletion)
    Specifies the addresses to email whenever the task completes, regardless of its success or failure.
    void
    setNotifyOnError(List<String> notifyOnError)
    Specifies the addresses to email if the task does not complete successfully.
    void
    setNotifyOnStart(List<String> notifyOnStart)
    Specifies the addresses to email whenever the task starts running.
    void
    setNotifyOnSuccess(List<String> notifyOnSuccess)
    Specifies the addresses to email if the task completes successfully.
    void
    setOutputPath(String outputPath)
    Specifies the path on the server filesystem to which the support data ' archive should be written.
    void
    setReportCount(Integer reportCount)
    Specifies the number of intervals that should be captured form tools that use interval-based sampling (e.g., vmstat, iostat, mpstat, etc.).
    void
    setReportIntervalSeconds(Integer reportIntervalSeconds)
    Specifies the interval duration in seconds that should be used for tools that use interval-based sampling (e.g., vmstat, iostat, mpstat, etc.).
    void
    setRetainPreviousSupportDataArchiveAge(String retainPreviousSupportDataArchiveAge)
    Specifies the minimum age of existing support data archives that should be retained.
    void
    setRetainPreviousSupportDataArchiveAgeMillis(Long retainPreviousSupportDataArchiveAgeMillis)
    Specifies the minimum age in milliseconds of existing support data archives that should be retained.
    void
    setRetainPreviousSupportDataArchiveCount(Integer retainPreviousSupportDataArchiveCount)
    Specifies the minimum number of existing support data archives that should be retained.
    void
    setScheduledStartTime(Date scheduledStartTime)
    Specifies the earliest time that the task should be eligible to start running.
    void
    Specifies the security level that should be used to indicate which data should be obscured, redacted, or omitted from the support data archive.
    void
    setTaskID(String taskID)
    Specifies the task ID that should be used for the task.
    void
    setUseSequentialMode(Boolean useSequentialMode)
    Specifies the value of a flag that indicates whether the server should collect items for the support data archive in sequential mode rather than in parallel.
    Retrieves a string representation of this collect support data task properties object.
    void
    Appends a string representation of this collect support data task properties object to the provided buffer.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CollectSupportDataTaskProperties

      Creates a new set of collect support data task properties without any of the properties set (so that the server will use default values for all of them).
    • CollectSupportDataTaskProperties

      Creates a new set of collect support data task properties as a copy of the provided properties.
      Parameters:
      properties - The collect support data task properties to duplicate.
    • CollectSupportDataTaskProperties

      Creates a new set of collect support data task properties set from the provided task instance.
      Parameters:
      task - The collect support data task instance from which the properties should be set.
  • Method Details

    • getOutputPath

      Retrieves the path on the server filesystem to which the support data archive should be written.
      Returns:
      The path on the server filesystem to which the support data archive should be written, or null if no value has been specified for the property.
    • setOutputPath

      public void setOutputPath(@Nullable String outputPath)
      Specifies the path on the server filesystem to which the support data ' archive should be written. If this is provided, then the value may be one of the following:
      • If the path refers to a file that exists, then the file will be overwritten with the new support data archive.
      • If the path refers to a directory that exists, then the support data archive will be written into that directory with a name generated by the server.
      • If the path refers to a file that does not exist, then its parent directory must exist, and the support data archive will be written with the specified path and name.
      Parameters:
      outputPath - The path on the server filesystem to which the support data archive should be written. It may be null if the server should choose the path and name for the output file.
    • getEncryptionPassphraseFile

      Retrieves the path on the server filesystem to a file that contains the passphrase to use to encrypt the support data archive.
      Returns:
      The path on the server filesystem to a file that contains the passphrase to use to encrypt the support data archive, or null if no value has been specified for the property, and the support data archive should not be encrypted.
    • setEncryptionPassphraseFile

      public void setEncryptionPassphraseFile(@Nullable String encryptionPassphraseFile)
      Specifies the path on the server filesystem to a file that contains the passphrase to use to encrypt the support data archive. If this is provided, then this must refer to a file that exists and that contains exactly one line whose entire content is the desired encryption passphrase.
      Parameters:
      encryptionPassphraseFile - The path on the server filesystem to a file that contains the passphrase to use to encrypt the support data archive. It may be null if the support data archive should not be encrypted.
    • getIncludeExpensiveData

      Retrieves the value of a flag that indicates whether the support data archive may include data that is potentially expensive to collect and could affect the performance or responsiveness of the server.
      Returns:
      The value of a flag that indicates whether the support data archive may include data that is potentially expensive to collect, or null if the property should not be specified when the task is created (in which case the server will use a default behavior of excluding expensive data).
    • setIncludeExpensiveData

      public void setIncludeExpensiveData(@Nullable Boolean includeExpensiveData)
      Specifies the value of a flag that indicates whether the support data archive may include data that is potentially expensive to collect and could affect the performance or responsiveness of the server.
      Parameters:
      includeExpensiveData - The value of a flag that indicates whether the support data archive may include data that is potentially expensive to collect. It may be null if the flag should not be specified when the task is created (in which case the server will use a default behavior of excluding expensive data).
    • getIncludeReplicationStateDump

      Retrieves the value of a flag that indicates whether the support data archive may include a replication state dump, which may be several megabytes in size.
      Returns:
      The value of a flag that indicates whether the support data archive may include a replication state dump, or null if the property should not be specified when the task is created (in which case the server will use a default behavior of excluding the state dump).
    • setIncludeReplicationStateDump

      public void setIncludeReplicationStateDump(@Nullable Boolean includeReplicationStateDump)
      Specifies the value of a flag that indicates whether the support data archive may include a replication state dump, which may be several megabytes in size.
      Parameters:
      includeReplicationStateDump - The value of a flag that indicates whether the support data archive may include a replication state dump. It may be null if the flag should not be specified when the task is created (in which case the server will use a default behavior of excluding the state dump).
    • getIncludeBinaryFiles

      Retrieves the value of a flag that indicates whether the support data archive may include binary files.
      Returns:
      The value of a flag that indicates whether the support data archive may include binary files, or null if the property should not be specified when the task is created (in which case the server will use a default behavior of excluding binary files).
    • setIncludeBinaryFiles

      public void setIncludeBinaryFiles(@Nullable Boolean includeBinaryFiles)
      Specifies the value of a flag that that indicates whether the support data archive may include binary files.
      Parameters:
      includeBinaryFiles - The value of a flag that indicates whether the support data archive may include binary files. It may be null if the property should not be specified when the task is created (in which case the server will use a default behavior of excluding binary files).
    • getIncludeExtensionSource

      Retrieves the value of a flag that indicates whether the support data archive should include source code (if available) for any third-party extensions installed in the server.
      Returns:
      The value of a flag that indicates whether the support data archive should include source code (if available) for any third-party extensions installed in the server, or null if the property should not be specified when the task is created (in which case the server will use a default behavior of excluding extension source code).
    • setIncludeExtensionSource

      public void setIncludeExtensionSource(@Nullable Boolean includeExtensionSource)
      Specifies the value of a flag that indicates whether the support data archive should include source code (if available) for any third-party extensions installed in the server.
      Parameters:
      includeExtensionSource - The value of a flag that indicates whether the support data archive should include source code (if available) for any third-party extensions in the server. It may be null if the property should not be specified when the task is created (in which case the server will use a default behavior of excluding extension source code).
    • getUseSequentialMode

      Retrieves the value of a flag that indicates whether the server should collect items for the support data archive in sequential mode rather than in parallel. Collecting data in sequential mode may reduce the amount of memory consumed during the collection process, but it will take longer to complete.
      Returns:
      The value of a flag that indicates whether the server should collect items for the support data archive in sequential mode rather than in parallel, or null if the property should not be specified when the task is created (in which case the server will default to capturing data in parallel).
    • setUseSequentialMode

      public void setUseSequentialMode(@Nullable Boolean useSequentialMode)
      Specifies the value of a flag that indicates whether the server should collect items for the support data archive in sequential mode rather than in parallel. Collecting data in sequential mode may reduce the amount of memory consumed during the collection process, but it will take longer to complete.
      Parameters:
      useSequentialMode - The value of a flag that indicates whether the server should collect items for the support data archive in sequential mode rather than in parallel. It may be null if the property should not be specified when the task is created (in which case the server will default to capturing data in parallel).
    • getSecurityLevel

      Retrieves the security level that should be used to indicate which data should be obscured, redacted, or omitted from the support data archive.
      Returns:
      The security level that should be used when creating the support data archive, or null if the property should not be specified when the task is created (in which case the server will use a default security level).
    • setSecurityLevel

      Specifies the security level that should be used to indicate which data should be obscured, redacted, or omitted from the support data archive.
      Parameters:
      securityLevel - The security level that should be used when creating the support data archive. It may be null if the property should not be specified when the task is created (in which case the server will use a default security level).
    • getReportCount

      Retrieves the number of intervals that should be captured from tools that use interval-based sampling (e.g., vmstat, iostat, mpstat, etc.).
      Returns:
      The number of intervals that should be captured from tools that use interval-based sampling, or null if the property should not be specified when the task is created (in which case the server will use a default report count).
    • setReportCount

      public void setReportCount(@Nullable Integer reportCount)
      Specifies the number of intervals that should be captured form tools that use interval-based sampling (e.g., vmstat, iostat, mpstat, etc.).
      Parameters:
      reportCount - The number of intervals that should be captured from tools that use interval-based sampling. The value must not be negative, but it may be zero to indicate that no intervals should be captured. It may be null if the property should not be specified when the task is created (in which case the server will use a default report count).
    • getReportIntervalSeconds

      Retrieves the interval duration in seconds that should be used for tools that use interval-based sampling (e.g., vmstat, iostat, mpstat, etc.).
      Returns:
      The interval duration in seconds that should be used for tools that use interval-based sampling, or null if the property should not be specified when the task is created (in which case the server will use a default report interval).
    • setReportIntervalSeconds

      public void setReportIntervalSeconds(@Nullable Integer reportIntervalSeconds)
      Specifies the interval duration in seconds that should be used for tools that use interval-based sampling (e.g., vmstat, iostat, mpstat, etc.).
      Parameters:
      reportIntervalSeconds - The interval duration in seconds that should be used for tools that use interval-based sampling. The value must be greater than or equal to one. It may be null if the property should not be specified when the task is created (in which case the server will use a default report count).
    • getJStackCount

      Retrieves the number of times that the jstack utility should be invoked to obtain stack traces from all threads in the server.
      Returns:
      The number of times that the jstack utility should be invoked to obtain stack traces from all threads in the server, or null if the property should not be specified when the task is created (in which case the server will use a default count).
    • setJStackCount

      public void setJStackCount(@Nullable Integer jstackCount)
      Specifies the number of times that the jstack utility should be invoked to obtain stack traces from all threads in the server.
      Parameters:
      jstackCount - The number of times that the jstack utility should be invoked to obtain stack traces from all threads in the server. The value must not be negative, but it may be zero to indicate that the jstack utility should not be invoked. It may be null if the property should not be specified when the task is created (in which case the server will use a default count).
    • getLogStartTime

      Retrieves the start time for the range of log messages to include in the support data archive.
      Returns:
      The start time for the range of log messages to include in the support data archive, or null if no log start time has been specified.
    • getLogEndTime

      Retrieves the end time for the range of log messages to include in the support data archive.
      Returns:
      The end time for the range of log messages to include in the support data archive, or null if no log end time has been specified.
    • setLogTimeRange

      public void setLogTimeRange(@Nullable Date logStartTime, @Nullable Date logEndTime)
      Specifies the time range for log messages to include in the support data archive. If a log time range is to be used, then the start time must be specified, and the end time may optionally be specified. A log time range should not be used in conjunction with a log duration or with a log head or tail size.
      Parameters:
      logStartTime - The start time for the range of log messages to include in the support data archive. It may be null if no log time range should be used.
      logEndTime - The end time for the range of log messages to include in the support data archive. It may be null if no log time range should be used, or if the time range should only be specified using a start time without an end time.
    • getLogDuration

      Retrieves a string representation of the duration (up until the time that the collect support data task is invoked) of log content that should be included in the support data archive.
      Returns:
      A string representation of the duration of log content that should be included in the support data archive, or null if the property should not be specified when the task is created (in which case the server will use a default behavior for selecting the amount of log content to include).
    • getLogDurationMillis

      Retrieves a parsed value of the log duration in milliseconds.
      Returns:
      A parsed value of the log duration in milliseconds or null if no log duration is set.
      Throws:
      TaskException - If the log duration value cannot be parsed as a valid duration.
    • setLogDuration

      public void setLogDuration(@Nullable String logDuration) throws TaskException
      Specifies the string representation of the duration (up until the time that the collect support data task is invoked) of log content that should be included in the support data archive.

      The string representation of the duration should be specified as an integer followed by a time unit, where the unit may be one of millisecond, second, minute, hour, day, or week (or one of their plurals). For example, "5 minutes" or "1 hour".
      Parameters:
      logDuration - The string representation of the duration of log content that should be included in the support data archive. It may be null if the property should not be specified when the task is created (in which case the server will determine an appropriate amount of log content to include).
      Throws:
      TaskException - If the provided string representation cannot be parsed as a valid duration.
    • setLogDurationMillis

      public void setLogDurationMillis(@Nullable Long logDurationMillis)
      Specifies the duration in milliseconds (up until the time that the collect support data task is invoked) of log content that should be included in the support data archive.
      Parameters:
      logDurationMillis - The duration in milliseconds of log content that should be included in the support data archive. The value must be greater than zero. It may be null if the property should not be specified when the task is created (in which case the server will determine an appropriate amount of log content to include).
    • getLogFileHeadCollectionSizeKB

      Retrieves the amount of data in kilobytes to capture from the beginning of each log file that should be included in the support data archive.
      Returns:
      The amount of data in kilobytes to capture from the beginning of each log file that should be included in the support data archive, or null if the property should not be specified when the task is created (in which case the server will determine an appropriate amount of log content to include).
    • setLogFileHeadCollectionSizeKB

      public void setLogFileHeadCollectionSizeKB(@Nullable Integer logFileHeadCollectionSizeKB)
      Specifies the amount of data in kilobytes to capture from the beginning of each log file that should be included in the support data archive.
      Parameters:
      logFileHeadCollectionSizeKB - The amount of data in kilobytes to capture from the beginning of each log file that should be included in the support data archive. This may be null if the property should not be specified when the task is created (in which case the server will determine an appropriate amount of log content to include).
    • getLogFileTailCollectionSizeKB

      Retrieves the amount of data in kilobytes to capture from the end of each log file that should be included in the support data archive.
      Returns:
      The amount of data in kilobytes to capture from the end of each log file that should be included in the support data archive, or null if the property should not be specified when the task is created (in which case the server will determine an appropriate amount of log content to include).
    • setLogFileTailCollectionSizeKB

      public void setLogFileTailCollectionSizeKB(@Nullable Integer logFileTailCollectionSizeKB)
      Specifies the amount of data in kilobytes to capture from the end of each log file that should be included in the support data archive.
      Parameters:
      logFileTailCollectionSizeKB - The amount of data in kilobytes to capture from the end of each log file that should be included in the support data archive. This may be null if the property should not be specified when the task is created (in which case the server will determine an appropriate amount of log content to include).
    • getComment

      Retrieves an additional comment that should be included in the support data archive.
      Returns:
      An additional comment that should be included in the support data archive, or null if no comment should be included.
    • setComment

      public void setComment(@Nullable String comment)
      Specifies an additional comment that should be included in the support data archive.
      Parameters:
      comment - An additional comment that should be included in the support data archive. It may be null if no additional comment should be included.
    • getRetainPreviousSupportDataArchiveCount

      Retrieves the minimum number of existing support data archives that should be retained.
      Returns:
      The minimum number of existing support data archives that should be retained, or null if there is no minimum retain count.
    • setRetainPreviousSupportDataArchiveCount

      public void setRetainPreviousSupportDataArchiveCount(@Nullable Integer retainPreviousSupportDataArchiveCount)
      Specifies the minimum number of existing support data archives that should be retained.

      Note that if an output path is specified, then a retain count or retain age may only be used if that output path specifies a directory rather than a file, so that the file name will be generated by the server, and only archive files in that directory with names that conform to the server-generated pattern may be removed.

      If neither a retain count nor a retain age is specified, then no existing support data archives will be removed. If both are specified, then any existing archive that is outside the criteria for either will be removed.
      Parameters:
      retainPreviousSupportDataArchiveCount - The minimum number of existing support data archives that should be retained. A value of zero indicates that only the new support data archive should be retained, and any other preexisting archives may be removed. It may be null if only the age of existing archives should be considered (if a retain age is specified), or if no existing support data archives should be removed (if no retain age is specified).
    • getRetainPreviousSupportDataArchiveAge

      Retrieves the minimum age of existing support data archives that should be retained.
      Returns:
      The minimum age of existing support data archives that should be retained, or null if there is no minimum retain age.
    • getRetainPreviousSupportDataArchiveAgeMillis

      Retrieves a parsed value of the retain previous support data archive age in milliseconds.
      Returns:
      A parsed value of the retain previous support data archive age in milliseconds or null if no retain age is set.
      Throws:
      TaskException - If the retain age value cannot be parsed as a valid duration.
    • setRetainPreviousSupportDataArchiveAge

      public void setRetainPreviousSupportDataArchiveAge(@Nullable String retainPreviousSupportDataArchiveAge) throws TaskException
      Specifies the minimum age of existing support data archives that should be retained.

      The string representation of the duration should be specified as an integer followed by a time unit, where the unit may be one of millisecond, second, minute, hour, day, or week (or one of their plurals). For example, "5 minutes" or "1 hour".

      Note that if an output path is specified, then a retain count or retain age may only be used if that output path specifies a directory rather than a file, so that the file name will be generated by the server, and only archive files in that directory with names that conform to the server-generated pattern may be removed.

      If neither a retain count nor a retain age is specified, then no existing support data archives will be removed. If both are specified, then any existing archive that is outside the criteria for either will be removed.
      Parameters:
      retainPreviousSupportDataArchiveAge - The minimum age of existing support data archives that should be retained. Any existing support data archives that are older than this may be removed. It may be null if only the number of existing archives should be considered (if a retain count is specified), or if no existing support data archives should be removed (if no retain count is specified).
      Throws:
      TaskException - If the provided string representation cannot be parsed as a valid duration.
    • setRetainPreviousSupportDataArchiveAgeMillis

      public void setRetainPreviousSupportDataArchiveAgeMillis(@Nullable Long retainPreviousSupportDataArchiveAgeMillis)
      Specifies the minimum age in milliseconds of existing support data archives that should be retained.

      Note that if an output path is specified, then a retain count or retain age may only be used if that output path specifies a directory rather than a file, so that the file name will be generated by the server, and only archive files in that directory with names that conform to the server-generated pattern may be removed.

      If neither a retain count nor a retain age is specified, then no existing support data archives will be removed. If both are specified, then any existing archive that is outside the criteria for either will be removed.
      Parameters:
      retainPreviousSupportDataArchiveAgeMillis - The minimum age in milliseconds of existing support data archives that should be retained. Any existing support data archives that are older than this may be removed. It may be null if only the number of existing archives should be considered (if a retain count is specified), or if no existing support data archives should be removed (if no retain count is specified).
    • getTaskID

      Retrieves the task ID that should be used for the task.
      Returns:
      The task ID that should be used for the task, or null if a random UUID should be generated for use as the task ID.
    • setTaskID

      public void setTaskID(@Nullable String taskID)
      Specifies the task ID that should be used for the task.
      Parameters:
      taskID - The task ID that should be used for the task. It may be null if a random UUID should be generated for use as the task ID.
    • getScheduledStartTime

      Retrieves the earliest time that the task should be eligible to start running.
      Returns:
      The earliest time that the task should be eligible to start running, or null if the task should be eligible to start immediately (or as soon as all of its dependencies have been satisfied).
    • setScheduledStartTime

      public void setScheduledStartTime(@Nullable Date scheduledStartTime)
      Specifies the earliest time that the task should be eligible to start running.
      Parameters:
      scheduledStartTime - The earliest time that the task should be eligible to start running. It may be null if the task should be eligible to start immediately (or as soon as all of its dependencies have been satisfied).
    • getDependencyIDs

      Retrieves the task IDs for any tasks that must complete before the new collect support data task will be eligible to start running.
      Returns:
      The task IDs for any tasks that must complete before the new collect support data task will be eligible to start running, or an empty list if the new task should not depend on any other tasks.
    • setDependencyIDs

      public void setDependencyIDs(@Nullable List<String> dependencyIDs)
      Specifies the task IDs for any tasks that must complete before the new collect support data task will be eligible to start running.
      Parameters:
      dependencyIDs - The task IDs for any tasks that must complete before the new collect support data task will be eligible to start running. It may be null or empty if the new task should not depend on any other tasks.
    • getFailedDependencyAction

      Retrieves the action that the server should take if any of the tasks on which the new task depends did not complete successfully.
      Returns:
      The action that the server should take if any of the tasks on which the new task depends did not complete successfully, or null if the property should not be specified when creating the task (and the server should choose an appropriate failed dependency action).
    • setFailedDependencyAction

      public void setFailedDependencyAction(@Nullable FailedDependencyAction failedDependencyAction)
      Specifies the action that the server should take if any of the tasks on which the new task depends did not complete successfully.
      Parameters:
      failedDependencyAction - The action that the server should take if any of the tasks on which the new task depends did not complete successfully. It may be null if the property should not be specified when creating the task (and the server should choose an appropriate failed dependency action).
    • getNotifyOnStart

      Retrieves the addresses to email whenever the task starts running.
      Returns:
      The addresses to email whenever the task starts running, or an empty list if no email notification should be sent when starting the task.
    • setNotifyOnStart

      public void setNotifyOnStart(@Nullable List<String> notifyOnStart)
      Specifies the addresses to email whenever the task starts running.
      Parameters:
      notifyOnStart - The addresses to email whenever the task starts running. It amy be null or empty if no email notification should be sent when starting the task.
    • getNotifyOnCompletion

      Retrieves the addresses to email whenever the task completes, regardless of its success or failure.
      Returns:
      The addresses to email whenever the task completes, or an empty list if no email notification should be sent when the task completes.
    • setNotifyOnCompletion

      public void setNotifyOnCompletion(@Nullable List<String> notifyOnCompletion)
      Specifies the addresses to email whenever the task completes, regardless of its success or failure.
      Parameters:
      notifyOnCompletion - The addresses to email whenever the task completes. It amy be null or empty if no email notification should be sent when the task completes.
    • getNotifyOnSuccess

      Retrieves the addresses to email if the task completes successfully.
      Returns:
      The addresses to email if the task completes successfully, or an empty list if no email notification should be sent on successful completion.
    • setNotifyOnSuccess

      public void setNotifyOnSuccess(@Nullable List<String> notifyOnSuccess)
      Specifies the addresses to email if the task completes successfully.
      Parameters:
      notifyOnSuccess - The addresses to email if the task completes successfully. It amy be null or empty if no email notification should be sent on successful completion.
    • getNotifyOnError

      Retrieves the addresses to email if the task does not complete successfully.
      Returns:
      The addresses to email if the task does not complete successfully, or an empty list if no email notification should be sent on an unsuccessful completion.
    • setNotifyOnError

      public void setNotifyOnError(@Nullable List<String> notifyOnError)
      Specifies the addresses to email if the task does not complete successfully.
      Parameters:
      notifyOnError - The addresses to email if the task does not complete successfully. It amy be null or empty if no email notification should be sent on an unsuccessful completion.
    • getAlertOnStart

      Retrieves the flag that indicates whether the server should send an administrative alert notification when the task starts running.
      Returns:
      The flag that indicates whether the server should send an administrative alert notification when the task starts running, or null if the property should not be specified when the task is created (and the server will default to not sending any alert).
    • setAlertOnStart

      public void setAlertOnStart(@Nullable Boolean alertOnStart)
      Specifies the flag that indicates whether the server should send an administrative alert notification when the task starts running.
      Parameters:
      alertOnStart - The flag that indicates whether the server should send an administrative alert notification when the task starts running, It may be null if the property should not be specified when the task is created (and the server will default to not sending any alert).
    • getAlertOnSuccess

      Retrieves the flag that indicates whether the server should send an administrative alert notification if the task completes successfully.
      Returns:
      The flag that indicates whether the server should send an administrative alert notification if the task completes successfully, or null if the property should not be specified when the task is created (and the server will default to not sending any alert).
    • setAlertOnSuccess

      public void setAlertOnSuccess(@Nullable Boolean alertOnSuccess)
      Specifies the flag that indicates whether the server should send an administrative alert notification if the task completes successfully.
      Parameters:
      alertOnSuccess - The flag that indicates whether the server should send an administrative alert notification if the task completes successfully, It may be null if the property should not be specified when the task is created (and the server will default to not sending any alert).
    • getAlertOnError

      Retrieves the flag that indicates whether the server should send an administrative alert notification if the task does not complete successfully.
      Returns:
      The flag that indicates whether the server should send an administrative alert notification if the task does not complete successfully, or null if the property should not be specified when the task is created (and the server will default to not sending any alert).
    • setAlertOnError

      public void setAlertOnError(@Nullable Boolean alertOnError)
      Specifies the flag that indicates whether the server should send an administrative alert notification if the task does not complete successfully.
      Parameters:
      alertOnError - The flag that indicates whether the server should send an administrative alert notification if the task does not complete successfully, It may be null if the property should not be specified when the task is created (and the server will default to not sending any alert).
    • toString

      Retrieves a string representation of this collect support data task properties object.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this collect support data task properties object.
    • toString

      public void toString(@NotNull StringBuilder buffer)
      Appends a string representation of this collect support data task properties object to the provided buffer.
      Parameters:
      buffer - The buffer to which the string representation will be appended. It must not be null.