edu.isi.pegasus.planner.dax
Enum Executable.OS

java.lang.Object
  extended by java.lang.Enum<Executable.OS>
      extended by edu.isi.pegasus.planner.dax.Executable.OS
All Implemented Interfaces:
Serializable, Comparable<Executable.OS>
Enclosing class:
Executable

public static enum Executable.OS
extends Enum<Executable.OS>

OS Types


Enum Constant Summary
aix
           
AIX
           
linux
           
LINUX
           
macosx
           
MACOSX
           
sunos
           
SUNOS
           
windows
           
WINDOWS
           
 
Method Summary
static Executable.OS valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Executable.OS[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LINUX

public static final Executable.OS LINUX

linux

public static final Executable.OS linux

SUNOS

public static final Executable.OS SUNOS

sunos

public static final Executable.OS sunos

AIX

public static final Executable.OS AIX

aix

public static final Executable.OS aix

MACOSX

public static final Executable.OS MACOSX

macosx

public static final Executable.OS macosx

WINDOWS

public static final Executable.OS WINDOWS

windows

public static final Executable.OS windows
Method Detail

values

public static Executable.OS[] 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 (Executable.OS c : Executable.OS.values())
    System.out.println(c);

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

valueOf

public static Executable.OS 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 name
NullPointerException - if the argument is null


Copyright © 2011 The University of Southern California. All Rights Reserved.