public interface ArtifactDeriver
| Modifier and Type | Method and Description |
|---|---|
Collection<BaseArtifactType> |
derive(BaseArtifactType artifact,
InputStream contentStream)
Given an artifact, this method will return a collection of derived content
for it.
|
void |
link(LinkerContext context,
BaseArtifactType sourceArtifact,
Collection<BaseArtifactType> derivedArtifacts)
This method represents the "linker" phase of deriving artifact content.
|
Collection<BaseArtifactType> derive(BaseArtifactType artifact, InputStream contentStream) throws IOException
artifact - the artifact to derivecontentStream - the artifact contentIOExceptionvoid link(LinkerContext context, BaseArtifactType sourceArtifact, Collection<BaseArtifactType> derivedArtifacts)
context - sourceArtifact - derivedArtifacts - Copyright © 2011–2013 JBoss, a division of Red Hat. All rights reserved.