org.nuiton.license
Class LicenseFactory
java.lang.Object
org.nuiton.license.LicenseFactory
Deprecated. since 1.0.3, move all license stuff in maven-license-plugin (removed in 1.1.0)
@Deprecated
public class LicenseFactory
- extends Object
Class responsible of instanciate License.
The factory use a table of resolvers to lookup for licenses.
To obtain an instance of a LicenseFactory use the method newInstance(String[]).
- Author:
- chemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resolvers
protected List<LicenseResolver> resolvers
- Deprecated.
LicenseFactory
protected LicenseFactory()
throws IllegalArgumentException
- Deprecated.
- Throws:
IllegalArgumentException
newInstance
public static LicenseFactory newInstance(String... extraResolvers)
throws IllegalArgumentException
- Deprecated.
- Throws:
IllegalArgumentException
addResolver
public void addResolver(LicenseResolver licenseResolver)
- Deprecated.
getLicenseNames
public Map<String,String> getLicenseNames()
throws IllegalArgumentException
- Deprecated.
- Throws:
IllegalArgumentException
revolv
public License revolv(String licenseName)
throws IllegalArgumentException
- Deprecated.
- Throws:
IllegalArgumentException
Copyright © 2009 CodeLutin. All Rights Reserved.