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