public enum License extends Enum<License>
Enum Constant and Description |
---|
apache
Distributed using the Apache license.
|
commercial
Distributed using a commercial license.
|
gpl
Distributed using the GNU Public License (GPL).
|
internal
For internal use at an organization only and is not re-distributed.
|
other
Distributed under another license agreement not covered by one of the other choices.
|
Modifier and Type | Method and Description |
---|---|
static License |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static License[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final License commercial
public static final License gpl
public static final License apache
public static final License internal
public static final License other
public static License[] values()
for (License c : License.values()) System.out.println(c);
public static License valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2003-2008 Jive Software.