Package com.sas.lsaf.content.repository
Enum Class RunHealthStatus
- All Implemented Interfaces:
Serializable,Comparable<RunHealthStatus>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionModifications to associated files of the job or in locations that have associations to the job run result in a Stale health status.When there is no data about the last job run, the health status of the job (or a version) is initialized to Unknown.When a job runs to completion without failures and generates output files, its health status is Up to date. -
Method Summary
Modifier and TypeMethodDescriptionstatic RunHealthStatusReturns the enum constant of this class with the specified name.static RunHealthStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException- if the argument is null
-