Package org.yamcs.cfdp.pdu
Enum AckPacket.FileDirectiveSubtypeCode
- java.lang.Object
-
- java.lang.Enum<AckPacket.FileDirectiveSubtypeCode>
-
- org.yamcs.cfdp.pdu.AckPacket.FileDirectiveSubtypeCode
-
- All Implemented Interfaces:
Serializable,Comparable<AckPacket.FileDirectiveSubtypeCode>
- Enclosing class:
- AckPacket
public static enum AckPacket.FileDirectiveSubtypeCode extends Enum<AckPacket.FileDirectiveSubtypeCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FinishedByEndSystemFinishedByWaypointOrOther
-
Field Summary
Fields Modifier and Type Field Description static Map<Byte,AckPacket.FileDirectiveSubtypeCode>Lookup
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetCode()static AckPacket.FileDirectiveSubtypeCodereadSubtypeCode(byte b)static AckPacket.FileDirectiveSubtypeCodevalueOf(String name)Returns the enum constant of this type with the specified name.static AckPacket.FileDirectiveSubtypeCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FinishedByWaypointOrOther
public static final AckPacket.FileDirectiveSubtypeCode FinishedByWaypointOrOther
-
FinishedByEndSystem
public static final AckPacket.FileDirectiveSubtypeCode FinishedByEndSystem
-
-
Field Detail
-
Lookup
public static final Map<Byte,AckPacket.FileDirectiveSubtypeCode> Lookup
-
-
Method Detail
-
values
public static AckPacket.FileDirectiveSubtypeCode[] 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 (AckPacket.FileDirectiveSubtypeCode c : AckPacket.FileDirectiveSubtypeCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AckPacket.FileDirectiveSubtypeCode 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
-
getCode
public byte getCode()
-
readSubtypeCode
public static AckPacket.FileDirectiveSubtypeCode readSubtypeCode(byte b)
-
-