com.sun.tracing.dtrace
Enum DependencyClass

java.lang.Object
  extended by java.lang.Enum<DependencyClass>
      extended by com.sun.tracing.dtrace.DependencyClass
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DependencyClass>

public enum DependencyClass
extends java.lang.Enum<DependencyClass>

Enumeration for the DTrace dependency classes.

Since:
1.7
See Also:
Solaris Dynamic Tracing Guide for details, Chapter 39: Stability

Enum Constant Summary
COMMON
          The interface is common to all Solaris systems regardless of the underlying hardware.
CPU
          The interface is specific to the CPU model of the current system.
GROUP
          The interface is specific to the hardware platform group of the current system.
ISA
          The interface is specific to the instruction set architecture (ISA) supported by the microprocessors on this system.
PLATFORM
          The interface is specific to the hardware platform of the current system.
UNKNOWN
          The interface has an unknown set of architectural dependencies.
 
Method Summary
 int getEncoding()
           
 java.lang.String toDisplayString()
           
static DependencyClass valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DependencyClass[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final DependencyClass UNKNOWN
The interface has an unknown set of architectural dependencies.


CPU

public static final DependencyClass CPU
The interface is specific to the CPU model of the current system.


PLATFORM

public static final DependencyClass PLATFORM
The interface is specific to the hardware platform of the current system.


GROUP

public static final DependencyClass GROUP
The interface is specific to the hardware platform group of the current system.


ISA

public static final DependencyClass ISA
The interface is specific to the instruction set architecture (ISA) supported by the microprocessors on this system.


COMMON

public static final DependencyClass COMMON
The interface is common to all Solaris systems regardless of the underlying hardware.

Method Detail

values

public static final DependencyClass[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DependencyClass c : DependencyClass.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DependencyClass valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

toDisplayString

public java.lang.String toDisplayString()

getEncoding

public int getEncoding()