public enum ObjectType extends Enum<ObjectType>
LegacyOperations, which are passed as a list to
the constructor, and can be checked using the isSupported(LegacyOperation) method.| Enum Constant and Description |
|---|
ALL |
BROKER |
EXCHANGE |
GROUP |
MANAGEMENT |
METHOD |
QUEUE |
USER |
VIRTUALHOST |
VIRTUALHOSTNODE |
| Modifier and Type | Method and Description |
|---|---|
Set<LegacyOperation> |
getOperations() |
boolean |
isSupported(LegacyOperation operation) |
String |
toString() |
static ObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectType ALL
public static final ObjectType VIRTUALHOSTNODE
public static final ObjectType VIRTUALHOST
public static final ObjectType MANAGEMENT
public static final ObjectType QUEUE
public static final ObjectType EXCHANGE
public static final ObjectType METHOD
public static final ObjectType USER
public static final ObjectType GROUP
public static final ObjectType BROKER
public static ObjectType[] values()
for (ObjectType c : ObjectType.values()) System.out.println(c);
public static ObjectType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Set<LegacyOperation> getOperations()
public boolean isSupported(LegacyOperation operation)
public String toString()
toString in class Enum<ObjectType>Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.