Package org.jboss.as.txn.subsystem
Enum ProcessIdType
- java.lang.Object
-
- java.lang.Enum<ProcessIdType>
-
- org.jboss.as.txn.subsystem.ProcessIdType
-
- All Implemented Interfaces:
Serializable,Comparable<ProcessIdType>
public enum ProcessIdType extends Enum<ProcessIdType>
Enums for the known com.arjuna.ats.arjuna.utils.Process implementation types- Version:
- $Revision:$
- Author:
- Scott stark (sstark@redhat.com) (C) 2011 Red Hat Inc.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClazz()StringgetName()static ProcessIdTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProcessIdType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UUID
public static final ProcessIdType UUID
-
FILE
public static final ProcessIdType FILE
-
MBEAN
public static final ProcessIdType MBEAN
-
SOCKET
public static final ProcessIdType SOCKET
-
-
Method Detail
-
values
public static ProcessIdType[] 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 (ProcessIdType c : ProcessIdType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessIdType 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
-
getClazz
public String getClazz()
-
getName
public String getName()
-
-