com.github.aschet.spdx.expression.DisjunctiveLicenseSetFactory 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.DisjunctiveLicenseSet;
import org.spdx.rdfparser.license.LicenseSet;
/**
* Concrete factory for a {@link DisjunctiveLicenseSet}.
*
* @author Thomas Ascher
*/
final class DisjunctiveLicenseSetFactory extends LicenseSetFactoryImpl {
@Override
public LicenseSet create(final AnyLicenseInfo[] expressions) {
return new DisjunctiveLicenseSet(expressions);
}
}