public enum LifetimeCalculationLimitType extends Enum<LifetimeCalculationLimitType> implements Enumeration
LifetimeOrbitPropagator
should behave when
determining completion of the computation. This will limit the run time of the
orbit lifetime computation.Enum Constant and Description |
---|
LIMIT_ALL
Limit computation to either a maximum elapsed time or a max number of orbits.
|
LIMIT_DURATION
Limit computation to a maximum elapsed time.
|
LIMIT_ORBIT_COUNT
Limit computation to a maximum number of orbits.
|
Modifier and Type | Method and Description |
---|---|
static LifetimeCalculationLimitType |
getDefault()
Get the enum constant that is considered to be the default.
|
static LifetimeCalculationLimitType |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static LifetimeCalculationLimitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LifetimeCalculationLimitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifetimeCalculationLimitType LIMIT_ORBIT_COUNT
public static final LifetimeCalculationLimitType LIMIT_DURATION
public static final LifetimeCalculationLimitType LIMIT_ALL
public static LifetimeCalculationLimitType[] values()
for (LifetimeCalculationLimitType c : LifetimeCalculationLimitType.values()) System.out.println(c);
public static LifetimeCalculationLimitType 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 int getValue()
getValue
in interface Enumeration
@Nonnull public static LifetimeCalculationLimitType getFromValue(int value)
value
- a numeric value.@Nonnull public static LifetimeCalculationLimitType getDefault()