Griffon 1.2.0

org.codehaus.griffon.artifacts.model
[Java] Enum Platform

java.lang.Object
  org.codehaus.griffon.artifacts.model.Platform

public enum Platform

Authors:
Andres Almiray
Since:
0.9.5


Enum Constant Summary
LINUX

LINUX64

MACOSX

MACOSX64

SOLARIS

WINDOWS

WINDOWS64

 
Field Summary
private static String[] LOWERCASE_NAMES

private static String[] NAMES

private String name

@author Andres Almiray

 
Method Summary
private def Platform(String name)

static List asList()

static Platform findByName(String name)

Finds a platform by name.

String getLowercaseName()

static String[] getLowercaseNames()

static List getLowercaseNamesAsList()

String getName()

static String[] getNames()

static List getNamesAsList()

Platform valueOf(String name)

Returns the enum constant of this type with the specified name.

Platform[] values()

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

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

LINUX

Platform LINUX


LINUX64

Platform LINUX64


MACOSX

Platform MACOSX


MACOSX64

Platform MACOSX64


SOLARIS

Platform SOLARIS


WINDOWS

Platform WINDOWS


WINDOWS64

Platform WINDOWS64


 
Field Detail

LOWERCASE_NAMES

private static String[] LOWERCASE_NAMES


NAMES

private static String[] NAMES


name

private final String name
Authors:
Andres Almiray
Since:
0.9.5


 
Method Detail

Platform

private def Platform(String name)


asList

public static List asList()


findByName

public static Platform findByName(String name)
Finds a platform by name.
throws:
IllegalArgumentException if name is null, blank or there is no match


getLowercaseName

public String getLowercaseName()


getLowercaseNames

public static String[] getLowercaseNames()


getLowercaseNamesAsList

public static List getLowercaseNamesAsList()


getName

public String getName()


getNames

public static String[] getNames()


getNamesAsList

public static List getNamesAsList()


valueOf

Platform valueOf(String name)
Returns the enum constant of this type with the specified name.


values

Platform[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation