Package org.apache.creadur.whisker.model
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Has anyWithLicense
been visited with a copyright notice set?void
visit
(WithLicense license) Visits a license to determine whether a copyright notice has been set.Methods inherited from class org.apache.creadur.whisker.model.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 anyWithLicense
been visited with a copyright notice set?- Returns:
- true when this verifier has visited a
WithLicense
with a copyright notice set, false otherwise
-