org.apache.rat.policy
Class DefaultPolicy
java.lang.Object
org.apache.rat.policy.DefaultPolicy
- All Implemented Interfaces:
- IClaimReporter
public class DefaultPolicy
- extends java.lang.Object
- implements IClaimReporter
|
Method Summary |
void |
claim(java.lang.CharSequence subject,
java.lang.CharSequence predicate,
java.lang.CharSequence object,
boolean isLiteral)
States a claim. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPolicy
public DefaultPolicy(IClaimReporter reporter)
DefaultPolicy
public DefaultPolicy(IClaimReporter reporter,
ILicenseFamily[] approvedLicenses)
DefaultPolicy
public DefaultPolicy(IClaimReporter reporter,
java.lang.String[] approvedLicenseNames)
claim
public void claim(java.lang.CharSequence subject,
java.lang.CharSequence predicate,
java.lang.CharSequence object,
boolean isLiteral)
throws RatReportFailedException
- Description copied from interface:
IClaimReporter
- States a claim.
- Specified by:
claim in interface IClaimReporter
- Parameters:
subject - subject of this claim, not nullpredicate - predicate claimed, not nullobject - object of this claim, not nullisLiteral - true is the object of this claim is a literal,
false if the object of this claim is an identifier
- Throws:
RatReportFailedException
Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.