Interface ArtifactHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportInfo
accept(Session session, Aggregate parent, java.lang.String name, ArtifactSet artifacts)
Imports an artifact set as new child node for the given parent.ImportInfo
accept(Session session, Aggregate aggregate, ArtifactSet artifacts)
Imports an artifact set for the given node.
-
-
-
Method Detail
-
accept
ImportInfo accept(Session session, Aggregate aggregate, ArtifactSet artifacts) throws RepositoryException, java.io.IOException
Imports an artifact set for the given node.- Parameters:
session
- the session to use for importaggregate
- the aggregateartifacts
- the artifacts to import- Returns:
- the import info on successful import,
null
otherwise - Throws:
RepositoryException
- if an error occurs.java.io.IOException
- if a I/O error occurs
-
accept
ImportInfo accept(Session session, Aggregate parent, java.lang.String name, ArtifactSet artifacts) throws RepositoryException, java.io.IOException
Imports an artifact set as new child node for the given parent.- Parameters:
session
- the session to use for importparent
- the parent aggregate of the new file to importname
- the name of the new nodeartifacts
- the artifacts to import- Returns:
- the import info on successful import,
null
otherwise - Throws:
RepositoryException
- if an error occurs.java.io.IOException
- if a I/O error occurs
-
-