Enum Class RunHealthStatus

java.lang.Object
java.lang.Enum<RunHealthStatus>
com.sas.lsaf.content.repository.RunHealthStatus
All Implemented Interfaces:
Serializable, Comparable<RunHealthStatus>, Constable

public enum RunHealthStatus extends Enum<RunHealthStatus>
Job run health status indicates whether a job is up-to-date since the last successful run. The job might not be up-to-date because of changes to input files, output files, program files, or the job itself since the job was last run. Job associations are obtained from the job definition and the job manifest from the last successful run. Changes to the associated files or the job itself trigger a stale health status. Note: This attribute is only updated if the job contains only SAS programs and the job health status feature is enabled on the system. Otherwise, the status is unknown. Please contact your system administrator to enable this feature.
  • Enum Constant Details

    • UNKNOWN

      public static final RunHealthStatus UNKNOWN
      When there is no data about the last job run, the health status of the job (or a version) is initialized to Unknown. Newly created jobs or jobs upgraded from prior releases have an Unknown health status.
    • UP_TO_DATE

      public static final RunHealthStatus UP_TO_DATE
      When a job runs to completion without failures and generates output files, its health status is Up to date. None of the associated files have changed since the job ran.
    • STALE

      public static final RunHealthStatus STALE
      Modifications to associated files of the job or in locations that have associations to the job run result in a Stale health status.
  • Method Details

    • values

      public static RunHealthStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RunHealthStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null