Class AggregateBuilder
java.lang.Object
org.apache.jackrabbit.vault.fs.impl.AggregateBuilder
Implements methods for creating a new
AggregateImpl-
Method Summary
Modifier and TypeMethodDescriptionvoidaddArtifact(Artifact artifact) Adds an artifact to the outputvoidaddArtifacts(ArtifactSetImpl artifacts) Adds an artifact set to the outputclose()Closes this artifact builder and writes the artifacts back to the repository.Returns the node this output was created forReturns the artifact set of this output.Returns the repository name this output was created for
-
Method Details
-
getArtifacts
Returns the artifact set of this output.- Returns:
- the artifact set of this output.
-
addArtifact
Adds an artifact to the output- Parameters:
artifact- the artifact to add
-
addArtifacts
Adds an artifact set to the output- Parameters:
artifacts- the artifact set
-
getAggregate
Returns the node this output was created for- Returns:
- the artifacts node
-
getReposName
Returns the repository name this output was created for- Returns:
- the repository name.
-
close
Closes this artifact builder and writes the artifacts back to the repository.- Returns:
- Infos about the modifications
- Throws:
RepositoryException- if an error occurs.IOException- if an I/O error occurs.
-