package com.raychenon.licensedroid.license;

/**
 * @author Raymond Chenon
 */
public enum License {

    APACHE_2(new ApacheLicense20()),
    BSD2(new BSD2ClauseLicense()),
    BSD3(new BSD3ClauseLicense()),
    MIT(new MITLicense()),
    MOZILLA_PUBLIC_LICENSE(new MozillaPublicLicense20());

    private LicenseInfos value;

    License(final LicenseInfos value) {
        this.value = value;
    }

    public LicenseInfos get() {
        return value;
    }
}
package com.raychenon.licensedroid.license;

/**
 * @author Raymond Chenon
 */
public enum License {

    APACHE_2(new ApacheLicense20()),
    BSD2(new BSD2ClauseLicense()),
    BSD3(new BSD3ClauseLicense()),
    LGPL21(new LGPL21License()),
    LGPL30(new LGPL30License()),
    MIT(new MITLicense()),
    MOZILLA_PUBLIC_LICENSE(new MozillaPublicLicense20());

    private LicenseInfos value;

    License(final LicenseInfos value) {
        this.value = value;
    }

    public LicenseInfos get() {
        return value;
    }
}
add enums in License