Enum UpfEntityType
- java.lang.Object
-
- java.lang.Enum<UpfEntityType>
-
- org.onosproject.net.behaviour.upf.UpfEntityType
-
- All Implemented Interfaces:
Serializable
,Comparable<UpfEntityType>
@Beta public enum UpfEntityType extends Enum<UpfEntityType>
Type of UPF entity.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION
APPLICATION_METER
COUNTER
INTERFACE
SESSION_DOWNLINK
SESSION_METER
SESSION_UPLINK
SLICE_METER
TERMINATION_DOWNLINK
TERMINATION_UPLINK
TUNNEL_PEER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
humanReadableName()
Returns a human-readable representation of this UPF entity type (useful for logging).static UpfEntityType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpfEntityType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERFACE
public static final UpfEntityType INTERFACE
-
TERMINATION_DOWNLINK
public static final UpfEntityType TERMINATION_DOWNLINK
-
TERMINATION_UPLINK
public static final UpfEntityType TERMINATION_UPLINK
-
SESSION_DOWNLINK
public static final UpfEntityType SESSION_DOWNLINK
-
SESSION_UPLINK
public static final UpfEntityType SESSION_UPLINK
-
TUNNEL_PEER
public static final UpfEntityType TUNNEL_PEER
-
COUNTER
public static final UpfEntityType COUNTER
-
APPLICATION
public static final UpfEntityType APPLICATION
-
SESSION_METER
public static final UpfEntityType SESSION_METER
-
APPLICATION_METER
public static final UpfEntityType APPLICATION_METER
-
SLICE_METER
public static final UpfEntityType SLICE_METER
-
-
Method Detail
-
values
public static UpfEntityType[] 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 (UpfEntityType c : UpfEntityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpfEntityType 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
-
humanReadableName
public String humanReadableName()
Returns a human-readable representation of this UPF entity type (useful for logging).- Returns:
- string
-
-