rat.policy
Class DefaultPolicy
java.lang.Object
rat.policy.DefaultPolicy
- All Implemented Interfaces:
- IClaimReporter
public class DefaultPolicy
- extends Object
- implements IClaimReporter
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,
String[] approvedLicenseNames)
claim
public void claim(CharSequence subject,
CharSequence predicate,
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-2011. All Rights Reserved.