Enum DutyCycleType
- java.lang.Object
-
- java.lang.Enum<DutyCycleType>
-
- org.orekit.files.ccsds.definitions.DutyCycleType
-
- All Implemented Interfaces:
Serializable
,Comparable<DutyCycleType>
public enum DutyCycleType extends Enum<DutyCycleType>
Type of duty cycle used in CCSDSOrbit Comprehensive Messages
.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUOUS
Full/continuous thrust.TIME
Time-based duty cycle.TIME_AND_ANGLE
Duty cycle based on phasing/clocking of space object body past a reference direction.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DutyCycleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DutyCycleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUOUS
public static final DutyCycleType CONTINUOUS
Full/continuous thrust.
-
TIME
public static final DutyCycleType TIME
Time-based duty cycle.
-
TIME_AND_ANGLE
public static final DutyCycleType TIME_AND_ANGLE
Duty cycle based on phasing/clocking of space object body past a reference direction.
-
-
Method Detail
-
values
public static DutyCycleType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DutyCycleType c : DutyCycleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DutyCycleType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-