public abstract class AbstractArtifactBuilder extends Object implements ArtifactBuilder
| Constructor and Description |
|---|
AbstractArtifactBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactBuilder |
buildArtifacts(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType primaryArtifact,
ArtifactContent artifactContent)
Build-up the primary artifact properties and generate all derived artifacts.
|
protected InputStream |
getContentStream()
Since the build process is multi-step and parses the content multiple times, it's necessary to be given
the byte[] and provide on-demand ByteArrayInputStreams as needed.
|
Collection<org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType> |
getDerivedArtifacts()
Provides the collection of derived artifacts generated by this builder.
|
protected org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType |
getPrimaryArtifact() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildRelationshipspublic ArtifactBuilder buildArtifacts(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType primaryArtifact, ArtifactContent artifactContent) throws IOException
ArtifactBuilderbuildArtifacts in interface ArtifactBuilderIOExceptionpublic Collection<org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType> getDerivedArtifacts()
ArtifactBuildergetDerivedArtifacts in interface ArtifactBuilderprotected org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType getPrimaryArtifact()
protected InputStream getContentStream() throws FileNotFoundException
FileNotFoundExceptionCopyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.