Enum NamespaceType
- java.lang.Object
-
- java.lang.Enum<NamespaceType>
-
- com.microsoft.azure.servicebus.management.NamespaceType
-
- All Implemented Interfaces:
Serializable
,Comparable<NamespaceType>
public enum NamespaceType extends Enum<NamespaceType>
Specifies the type of entities the namespace can contain.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Mixed
Supported only for backword compatibility.ServiceBus
Namespace contains service bus entities (queues / topics)Unknown
Unknown entities.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumVal()
static NamespaceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static NamespaceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ServiceBus
public static final NamespaceType ServiceBus
Namespace contains service bus entities (queues / topics)
-
Mixed
public static final NamespaceType Mixed
Supported only for backword compatibility. Namespace can contain mixture of service bus entities and notification hubs.
-
Unknown
public static final NamespaceType Unknown
Unknown entities.
-
-
Method Detail
-
values
public static NamespaceType[] 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 (NamespaceType c : NamespaceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NamespaceType 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
-
getNumVal
public int getNumVal()
-
-