org.apache.rat.policy
Class DefaultPolicy
java.lang.Object
org.apache.rat.policy.DefaultPolicy
- All Implemented Interfaces:
- IDocumentAnalyser
public class DefaultPolicy
- extends Object
- implements IDocumentAnalyser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPolicy
public DefaultPolicy()
DefaultPolicy
public DefaultPolicy(ILicenseFamily[] approvedLicenses)
DefaultPolicy
public DefaultPolicy(String[] approvedLicenseNames)
reportLicenseApprovalClaim
public void reportLicenseApprovalClaim(Document subject,
boolean isAcceptable)
analyse
public void analyse(Document subject)
throws RatDocumentAnalysisException
- Specified by:
analyse
in interface IDocumentAnalyser
- Throws:
RatDocumentAnalysisException
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.