com.github.aschet.spdx.expression.ConjunctiveLicenseSetFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spdx-license-expression-tools Show documentation
Show all versions of spdx-license-expression-tools Show documentation
A library that provides various operations for SPDX license expressions.
The newest version!
/**
* Copyright 2017 Thomas Ascher
* SPDX-License-Identifier: Apache-2.0
*/
package com.github.aschet.spdx.expression;
import org.spdx.rdfparser.license.AnyLicenseInfo;
import org.spdx.rdfparser.license.ConjunctiveLicenseSet;
import org.spdx.rdfparser.license.LicenseSet;
/**
* Concrete factory for a {@link ConjunctiveLicenseSet}.
*
* @author Thomas Ascher
*/
final class ConjunctiveLicenseSetFactory extends LicenseSetFactoryImpl {
@Override
public LicenseSet create(final AnyLicenseInfo[] expressions) {
return new ConjunctiveLicenseSet(expressions);
}
}