private String classifier = null;
private String extension = null;
private Map<String, String> attributes;
+ private boolean searchRelatedArtifacts = false;
+ private boolean searchSubNamespaces = false;
private ArchivaItemSelector( )
return this;
}
+ public Builder enableSearchRelatedArtifacts() {
+ selector.searchRelatedArtifacts = true;
+ return this;
+ }
+
+ public Builder enableSearchSubNamespaces() {
+ selector.searchSubNamespaces = true;
+ return this;
+ }
+
public ArchivaItemSelector build( )
{
return selector;
}
}
+ @Override
+ public boolean searchSubNamespaces( )
+ {
+ return searchSubNamespaces;
+ }
+
+ @Override
+ public boolean findRelatedArtifacts( )
+ {
+ return searchRelatedArtifacts;
+ }
+
@Override
public boolean hasAttributes( )
{