Enum Constant and Description |
---|
ApacheV1_0 |
ApacheV1_1 |
ApacheV2_0 |
BSD |
BSD_2_Clause |
BSD_3_Clause |
BSD_4_Clause |
CDDLV1_0 |
Commercial |
EclipseV1_0 |
GPLV1_0 |
GPLV2_0 |
GPLV2_0_CE |
GPLV3_0 |
LGPLV2_1 |
LGPLV3_0 |
MIT |
Other |
OtherDistributableOpenSource |
OtherNonDistributableOpenSource |
Public_Domain |
Modifier and Type | Field and Description |
---|---|
boolean |
requiresText |
Modifier and Type | Method and Description |
---|---|
static License |
valueOf(java.lang.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 ApacheV1_0
public static final License ApacheV1_1
public static final License ApacheV2_0
public static final License BSD
public static final License BSD_2_Clause
public static final License BSD_3_Clause
public static final License BSD_4_Clause
public static final License CDDLV1_0
public static final License Commercial
public static final License EclipseV1_0
public static final License GPLV1_0
public static final License GPLV2_0
public static final License GPLV2_0_CE
public static final License GPLV3_0
public static final License LGPLV2_1
public static final License LGPLV3_0
public static final License MIT
public static final License Other
public static final License OtherDistributableOpenSource
public static final License OtherNonDistributableOpenSource
public static final License Public_Domain
public static License[] values()
for (License c : License.values()) System.out.println(c);
public static License valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null