public class DefaultPolicy extends Object implements IDocumentAnalyser
Constructor and Description |
---|
DefaultPolicy(ILicenseFamily[] approvedLicenses,
boolean mergeWithDefault) |
DefaultPolicy(List<String> approvedLicenseNames,
boolean mergeWithDefault) |
Modifier and Type | Method and Description |
---|---|
void |
analyse(Document subject) |
List<String> |
getApprovedLicenseNames() |
void |
reportLicenseApprovalClaim(Document subject,
boolean isAcceptable) |
public DefaultPolicy(ILicenseFamily[] approvedLicenses, boolean mergeWithDefault)
public void analyse(Document subject) throws RatDocumentAnalysisException
analyse
in interface IDocumentAnalyser
RatDocumentAnalysisException
public void reportLicenseApprovalClaim(Document subject, boolean isAcceptable)
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.