Enum Constant and Description |
---|
APACHE |
BSD |
EPL |
GPL |
GPLV2 |
LGPL |
MIT |
Modifier and Type | Method and Description |
---|---|
static void |
addLicenseInfo(java.util.List<java.lang.String> text,
LicenseInfo licenseInfo) |
static License |
getCurrent() |
java.util.List<java.lang.String> |
getJavaHeader() |
java.util.List<java.lang.String> |
getText1(LicenseInfo licenseInfo) |
java.util.List<java.lang.String> |
getText2(LicenseInfo licenseInfo) |
java.util.List<java.lang.String> |
getTextFull() |
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 GPL
public static final License GPLV2
public static final License LGPL
public static final License APACHE
public static final License EPL
public static final License MIT
public static final License BSD
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 nullpublic static License getCurrent()
public static void addLicenseInfo(java.util.List<java.lang.String> text, LicenseInfo licenseInfo)
public java.util.List<java.lang.String> getJavaHeader()
public java.util.List<java.lang.String> getTextFull()
public java.util.List<java.lang.String> getText1(LicenseInfo licenseInfo)
public java.util.List<java.lang.String> getText2(LicenseInfo licenseInfo)