Package org.apache.creadur.whisker.model
Class ResourceNamesCollator
java.lang.Object
org.apache.creadur.whisker.model.Visitor
org.apache.creadur.whisker.model.ResourceNamesCollator
Collates resources within directories, flattening the
model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCollection<org.apache.commons.lang3.tuple.Pair<WithinDirectory,
Resource>> Gets the duplicate resources discovered.getNames()
Gets the names of the resources collected.void
Collects this resource.void
visit
(WithinDirectory directory) Sets the last directory visited.Methods inherited from class org.apache.creadur.whisker.model.Visitor
traverseByOrganisation, traversePublicDomain, traverseResource, traverseWithLicense, visit, visit
-
Constructor Details
-
ResourceNamesCollator
public ResourceNamesCollator()
-
-
Method Details
-
getNames
Gets the names of the resources collected.- Returns:
- not null
-
getDuplicates
Gets the duplicate resources discovered.- Returns:
- not null
-
visit
Sets the last directory visited. -
visit
Collects this resource.
-