public enum SoftwareLicenseType extends java.lang.Enum<SoftwareLicenseType>
SoftwareReference
annotation.Enum Constant and Description |
---|
Apache
For software licensed under the Apache License.
|
BSD
For software licensed under the Berkeley Software Distribution (BSD)
license.
|
CDDL
For software licensed under the Common Development and Distribution
License (CDDL), or similar licenses such as the Mozilla Public License
(MPL) or Eclipse License.
|
Commercial
For software licensed under a commercial license.
|
Custom
For software licensed under a specific tailored license for that
software package.
|
GPL
For software licensed under the GNU Public License (GPL).
|
LGPL
For software licensed under the Lesser GNU Public License (LGPL), or
similar licenses.
|
Other
For any other software licenses.
|
PublicDomain
For public domain software.
|
Modifier and Type | Method and Description |
---|---|
static SoftwareLicenseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoftwareLicenseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@PublicationReference(author="Wikipedia", title="Public domain", type=WebPage, year=2009, url="http://en.wikipedia.org/wiki/Public_domain#No_legal_restriction_on_use", notes="The nonspecific license when work is posted for anybody to use without restriction.") public static final SoftwareLicenseType PublicDomain
@PublicationReference(author="Regents of the University of California", title="The BSD License", type=WebPage, year=1998, url="http://www.opensource.org/licenses/bsd-license.php", notes="Open Source Initiative Approved license") public static final SoftwareLicenseType BSD
@PublicationReference(author="Apache Software Foundation", title="Apache License, Version 2.0", type=WebPage, year=2004, url="http://www.apache.org/licenses/LICENSE-2.0", notes="Open Source Initiative Approved license") public static final SoftwareLicenseType Apache
@PublicationReference(author="Sun Microsystems", title="Common Development and Distribution License (CDDL) Information", type=WebPage, year=2004, url="http://www.sun.com/cddl/", notes="Open Source Initiative Approved license") public static final SoftwareLicenseType CDDL
@PublicationReference(author="Free Software Foundation, Inc.", title="GNU Lesser General Public License, Version 3", type=WebPage, year=2007, url="http://www.gnu.org/licenses/lgpl.html", notes="Open Source Initiative Approved license") public static final SoftwareLicenseType LGPL
@PublicationReference(author="Free Software Foundation, Inc.", title="GNU General Public License, Version 3", type=WebPage, year=2007, url="http://www.gnu.org/copyleft/gpl.html", notes={"Open Source Initiative Approved license","DO NOT USE THIS LICENSE IN THE FOUNDRY, AS IT ACTS LIKE A VIRUS!"}) public static final SoftwareLicenseType GPL
public static final SoftwareLicenseType Commercial
public static final SoftwareLicenseType Custom
public static final SoftwareLicenseType Other
public static SoftwareLicenseType[] values()
for (SoftwareLicenseType c : SoftwareLicenseType.values()) System.out.println(c);
public static SoftwareLicenseType 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