public enum PersistedType extends Enum<PersistedType>
Enum Constant and Description |
---|
ConnectionFactory |
Queue |
Topic |
Modifier and Type | Method and Description |
---|---|
byte |
getType() |
static PersistedType |
getType(byte type) |
static PersistedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistedType ConnectionFactory
public static final PersistedType Topic
public static final PersistedType Queue
public static PersistedType[] values()
for (PersistedType c : PersistedType.values()) System.out.println(c);
public static PersistedType 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 byte getType()
public static PersistedType getType(byte type)
Copyright © 2019 JBoss by Red Hat. All rights reserved.