com.izforge.izpack.util
Enum Platform.Name

java.lang.Object
  extended by java.lang.Enum<Platform.Name>
      extended by com.izforge.izpack.util.Platform.Name
All Implemented Interfaces:
Serializable, Comparable<Platform.Name>
Enclosing class:
Platform

public static enum Platform.Name
extends Enum<Platform.Name>

Platform family name.


Enum Constant Summary
AIX
           
DEBIAN_LINUX
           
FEDORA_LINUX
           
FREEBSD
           
HP_UX
           
LINUX
           
MAC
           
MAC_OSX
           
MANDRAKE_LINUX
           
MANDRIVA_LINUX
           
OS_2
           
RED_HAT_LINUX
           
SUNOS
           
SUSE_LINUX
           
UBUNTU_LINUX
           
UNIX
           
UNKNOWN
           
WINDOWS
           
 
Method Summary
 Platform.Name[] getParents()
          Returns the parent family names.
 boolean isA(Platform.Name name)
          Determines if this is an instance of the specified name.
static Platform.Name valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Platform.Name[] 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

UNIX

public static final Platform.Name UNIX

LINUX

public static final Platform.Name LINUX

AIX

public static final Platform.Name AIX

DEBIAN_LINUX

public static final Platform.Name DEBIAN_LINUX

FEDORA_LINUX

public static final Platform.Name FEDORA_LINUX

FREEBSD

public static final Platform.Name FREEBSD

HP_UX

public static final Platform.Name HP_UX

MAC

public static final Platform.Name MAC

MAC_OSX

public static final Platform.Name MAC_OSX

MANDRAKE_LINUX

public static final Platform.Name MANDRAKE_LINUX

MANDRIVA_LINUX

public static final Platform.Name MANDRIVA_LINUX

OS_2

public static final Platform.Name OS_2

RED_HAT_LINUX

public static final Platform.Name RED_HAT_LINUX

SUNOS

public static final Platform.Name SUNOS

SUSE_LINUX

public static final Platform.Name SUSE_LINUX

UBUNTU_LINUX

public static final Platform.Name UBUNTU_LINUX

WINDOWS

public static final Platform.Name WINDOWS

UNKNOWN

public static final Platform.Name UNKNOWN
Method Detail

values

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

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

valueOf

public static Platform.Name 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

getParents

public Platform.Name[] getParents()
Returns the parent family names.

Returns:
the parent family names

isA

public boolean isA(Platform.Name name)
Determines if this is an instance of the specified name.

Parameters:
name - the name to check
Returns:
true if this is an instance of name


Copyright © 2015. All rights reserved.