public class LOracle extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LOracle.More |
| Modifier and Type | Field and Description |
|---|---|
Map<String,de.pfabulist.loracle.license.LicenseID> |
longNameMapper |
static de.pfabulist.frex.Frex |
ws |
| Constructor and Description |
|---|
LOracle() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCouldbeName(de.pfabulist.loracle.license.LicenseID license,
String couldbe) |
void |
addCouldBeUrl(de.pfabulist.loracle.license.LicenseID license,
String url) |
void |
addException(String name,
boolean spdx) |
void |
addLicenseForArtifact(de.pfabulist.loracle.maven.Coordinates coo,
de.pfabulist.loracle.license.LicenseID licenseID) |
void |
addLongName(de.pfabulist.loracle.license.LicenseID license,
String longName) |
void |
addUrl(de.pfabulist.loracle.license.LicenseID license,
String url) |
void |
addUrlContent(String url,
String res) |
void |
addUrlForCoordinates(de.pfabulist.loracle.maven.Coordinates coo,
String url) |
de.pfabulist.loracle.license.MappedLicense |
findLongNames(And and,
String str) |
Pattern |
fullNames(String lng) |
CompositeLicense |
getAnd(de.pfabulist.loracle.license.LicenseID left,
de.pfabulist.loracle.license.LicenseID right) |
de.pfabulist.loracle.license.LicenseAttributes |
getAttributes(de.pfabulist.loracle.license.LicenseID l) |
de.pfabulist.loracle.license.MappedLicense |
getByCoordinates(de.pfabulist.loracle.maven.Coordinates coo) |
de.pfabulist.loracle.license.MappedLicense |
getByName(String name) |
Optional<de.pfabulist.loracle.license.LicenseID> |
getByName1(String name) |
de.pfabulist.loracle.license.MappedLicense |
getByUrl(String url) |
de.pfabulist.loracle.license.LicenseExclude |
getExceptionOrThrow(String ex) |
LOracle.More |
getMore(de.pfabulist.loracle.license.LicenseID licenseID) |
CompositeLicense |
getOr(de.pfabulist.loracle.license.LicenseID left,
de.pfabulist.loracle.license.LicenseID right) |
de.pfabulist.loracle.license.LicenseID |
getOrLater(de.pfabulist.loracle.license.SingleLicense license,
boolean orLater,
Optional<de.pfabulist.loracle.license.LicenseExclude> exception) |
de.pfabulist.loracle.license.LicenseID |
getOrThrowByName(String name) |
Optional<de.pfabulist.loracle.license.SingleLicense> |
getSingle(String name) |
int |
getSingleLicenseCount() |
Optional<String> |
getUrlContent(String url) |
Optional<String> |
getUrlFromCoordinates(de.pfabulist.loracle.maven.Coordinates coo) |
Set<de.pfabulist.loracle.license.LicenseID> |
guessByName(String name) |
Set<de.pfabulist.loracle.license.LicenseID> |
guessByUrl(String url) |
de.pfabulist.loracle.license.SingleLicense |
newSingle(String name,
boolean spdx) |
de.pfabulist.loracle.license.SingleLicense |
newSingle(String name,
LOracle.More more) |
void |
setOsiApproval(de.pfabulist.loracle.license.LicenseID licenseID,
boolean osiApproved) |
LOracle |
spread() |
LOracle |
spreadNoexternals() |
public LOracle spreadNoexternals()
public LOracle spread()
public de.pfabulist.loracle.license.LicenseID getOrLater(de.pfabulist.loracle.license.SingleLicense license,
boolean orLater,
Optional<de.pfabulist.loracle.license.LicenseExclude> exception)
public de.pfabulist.loracle.license.LicenseExclude getExceptionOrThrow(String ex)
public de.pfabulist.loracle.license.SingleLicense newSingle(String name, LOracle.More more)
public de.pfabulist.loracle.license.SingleLicense newSingle(String name, boolean spdx)
public LOracle.More getMore(de.pfabulist.loracle.license.LicenseID licenseID)
public de.pfabulist.loracle.license.LicenseAttributes getAttributes(de.pfabulist.loracle.license.LicenseID l)
public void addLongName(de.pfabulist.loracle.license.LicenseID license,
String longName)
public de.pfabulist.loracle.license.MappedLicense getByName(String name)
public de.pfabulist.loracle.license.LicenseID getOrThrowByName(String name)
public void addLicenseForArtifact(de.pfabulist.loracle.maven.Coordinates coo,
de.pfabulist.loracle.license.LicenseID licenseID)
public de.pfabulist.loracle.license.MappedLicense getByCoordinates(de.pfabulist.loracle.maven.Coordinates coo)
public void addException(String name, boolean spdx)
public de.pfabulist.loracle.license.MappedLicense getByUrl(String url)
public void setOsiApproval(de.pfabulist.loracle.license.LicenseID licenseID,
boolean osiApproved)
public CompositeLicense getAnd(de.pfabulist.loracle.license.LicenseID left, de.pfabulist.loracle.license.LicenseID right)
public CompositeLicense getOr(de.pfabulist.loracle.license.LicenseID left, de.pfabulist.loracle.license.LicenseID right)
public void addCouldbeName(de.pfabulist.loracle.license.LicenseID license,
String couldbe)
public void addCouldBeUrl(de.pfabulist.loracle.license.LicenseID license,
String url)
public void addUrl(de.pfabulist.loracle.license.LicenseID license,
String url)
public int getSingleLicenseCount()
public void addUrlForCoordinates(de.pfabulist.loracle.maven.Coordinates coo,
String url)
Copyright © 2017. All rights reserved.