Package ru.ispras.microtesk.model.tracer
Enum RecordFormatType
- java.lang.Object
-
- java.lang.Enum<RecordFormatType>
-
- ru.ispras.microtesk.model.tracer.RecordFormatType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RecordFormatType>
public enum RecordFormatType extends java.lang.Enum<RecordFormatType>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ARK_TYPE_NAME
static java.lang.String
BASE_TYPE_NAME
static java.lang.String
PANDA_TYPE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static RecordFormatType
getType(java.lang.String element)
static RecordFormatType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RecordFormatType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE
public static final RecordFormatType BASE
Trace format in a TARMAC like style.
-
ARK
public static final RecordFormatType ARK
Trace format in a Ark(Panda) style.
-
-
Field Detail
-
BASE_TYPE_NAME
public static final java.lang.String BASE_TYPE_NAME
- See Also:
- Constant Field Values
-
ARK_TYPE_NAME
public static final java.lang.String ARK_TYPE_NAME
- See Also:
- Constant Field Values
-
PANDA_TYPE_NAME
public static final java.lang.String PANDA_TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RecordFormatType[] 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 (RecordFormatType c : RecordFormatType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecordFormatType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
-
getType
public static RecordFormatType getType(java.lang.String element)
-
-