public static enum UserAssessment.Type extends Enum<UserAssessment.Type> implements BmcEnum
The type of the user assessment. The possible types are:
LATEST: The latest assessment that was executed for a target. It can either be system generated as part of the scheduled assessments or user driven by refreshing the latest assessment. SAVED: A saved user assessment. All user assessments are saved in the user assessment history. SAVE_SCHEDULE: The schedule to periodically save the LATEST assessment of a target database. COMPARTMENT: An automatic managed assessment type that stores all details of the targets in one compartment. This will keep an up-to-date status of all potential risks identified in the compartment. It also keeps track of user count and target count for each profile available on the targets in a given compartment. It is automatically updated once the latest assessment or refresh action is executed, as well as when a target is deleted or moved to a different compartment.
Enum Constant and Description |
---|
Compartment |
Latest |
Saved |
SaveSchedule |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static UserAssessment.Type |
create(String key) |
String |
getValue() |
static UserAssessment.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserAssessment.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAssessment.Type Latest
public static final UserAssessment.Type Saved
public static final UserAssessment.Type SaveSchedule
public static final UserAssessment.Type Compartment
public static final UserAssessment.Type UnknownEnumValue
public static UserAssessment.Type[] values()
for (UserAssessment.Type c : UserAssessment.Type.values()) System.out.println(c);
public static UserAssessment.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static UserAssessment.Type create(String key)
Copyright © 2016–2024. All rights reserved.