public static enum PiPipeconf.ExtensionType extends java.lang.Enum<PiPipeconf.ExtensionType>
Enum Constant and Description |
---|
BMV2_JSON
BMv2 JSON configuration.
|
P4_INFO_TEXT
The P4Info as returned by the p4c compiler in text format.
|
TOFINO_BIN
Barefoot's Tofino configuration binary.
|
TOFINO_CONTEXT_JSON
Barefoot's Tofino context JSON.
|
Modifier and Type | Method and Description |
---|---|
static PiPipeconf.ExtensionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PiPipeconf.ExtensionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiPipeconf.ExtensionType P4_INFO_TEXT
public static final PiPipeconf.ExtensionType BMV2_JSON
public static final PiPipeconf.ExtensionType TOFINO_BIN
public static final PiPipeconf.ExtensionType TOFINO_CONTEXT_JSON
public static PiPipeconf.ExtensionType[] values()
for (PiPipeconf.ExtensionType c : PiPipeconf.ExtensionType.values()) System.out.println(c);
public static PiPipeconf.ExtensionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null