public enum BaselineStatus extends Enum<BaselineStatus>
DBBaseline.setStatus(java.lang.String)
Enum Constant and Description |
---|
DONE
The baseline is frozen.
|
ERROR
The creation of the baseline led to an unrecoverable error, it must be deleted.
|
IN_CREATION
During the creation process, where we add requirements one by one (but in separate transactions),
the status IN_CREATION is used.
|
NON_EXISTING
Not available for the DB - This status is for a baseline which doesn't exist but there are still
requirements with that baseline number.
|
PREVIEW
Baseline where the record exists, but the requirements haven't started being archived yet
|
Modifier and Type | Method and Description |
---|---|
static BaselineStatus |
from(String name)
Same as valueOf, but handles null and unknown names
|
static BaselineStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaselineStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaselineStatus PREVIEW
public static final BaselineStatus IN_CREATION
public static final BaselineStatus DONE
public static final BaselineStatus ERROR
public static final BaselineStatus NON_EXISTING
public static BaselineStatus[] values()
for (BaselineStatus c : BaselineStatus.values()) System.out.println(c);
public static BaselineStatus 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 BaselineStatus from(String name)
Copyright © 2022 Requirement Yogi. All rights reserved.