Class NoCopyrightNoticeVerifier
java.lang.Object
org.apache.creadur.whisker.model.Visitor
org.apache.creadur.whisker.model.NoCopyrightNoticeVerifier
Verifies that no copyright notices are present.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanHas anyWithLicensebeen visited with a copyright notice set?voidvisit(WithLicense license) Visits a license to determine whether a copyright notice has been set.Methods inherited from class Visitor
traverseByOrganisation, traversePublicDomain, traverseResource, traverseWithLicense, visit, visit, visit
-
Constructor Details
-
NoCopyrightNoticeVerifier
public NoCopyrightNoticeVerifier()
-
-
Method Details
-
visit
Visits a license to determine whether a copyright notice has been set. -
isCopyrightNoticePresent
public boolean isCopyrightNoticePresent()Has anyWithLicensebeen visited with a copyright notice set?- Returns:
- true when this verifier has visited a
WithLicensewith a copyright notice set, false otherwise
-