| Modifier and Type | Method and Description |
|---|---|
boolean |
ZipToSrampArchiveProvider.accept(ArtifactType artifactType)
Returns true if this provider is capable of providing an expander for the given artifact type.
|
static boolean |
ZipToSrampArchiveRegistry.canExpand(ArtifactType artifactType)
Returns true if an expander exists for the given type.
|
static ZipToSrampArchive |
ZipToSrampArchiveRegistry.createExpander(ArtifactType artifactType,
File zipFile)
Creates an expander for the given artifact type.
|
static ZipToSrampArchive |
ZipToSrampArchiveRegistry.createExpander(ArtifactType artifactType,
InputStream zipStream)
Creates an expander for the given artifact type.
|
ZipToSrampArchive |
ZipToSrampArchiveProvider.createExtractor(ArtifactType artifactType,
File zipFile)
Creates a
ZipToSrampArchive expander for the given artifact type and zip content. |
ZipToSrampArchive |
ZipToSrampArchiveProvider.createExtractor(ArtifactType artifactType,
InputStream zipStream)
Creates a
ZipToSrampArchive expander for the given artifact type and zip content. |
protected static ZipToSrampArchiveProvider |
ZipToSrampArchiveRegistry.getProvider(ArtifactType artifactType)
Gets a provider for the given artifact type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SrampAtomApiClient.deleteArtifact(String uuid,
ArtifactType type)
Delets an artifact from the s-ramp repository.
|
InputStream |
SrampAtomApiClient.getArtifactContent(ArtifactType artifactType,
String artifactUuid)
Gets the content for an artifact as an input stream.
|
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType |
SrampAtomApiClient.getArtifactMetaData(ArtifactType artifactType,
String artifactUuid)
Gets the full meta-data listing for an Artifact in the S-RAMP repository.
|
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType |
SrampAtomApiClient.uploadArtifact(ArtifactType artifactType,
InputStream content,
String artifactFileName)
Creates a new artifact in the repository by uploading a document.
|
| Modifier and Type | Method and Description |
|---|---|
ArtifactType |
ArtifactSummary.getType() |
| Modifier and Type | Method and Description |
|---|---|
static ArtifactType |
ArtifactType.Document() |
static ArtifactType |
ArtifactType.Document(String mimeType) |
static ArtifactType |
ArtifactType.ExtendedArtifactType(String extendedType,
boolean derived) |
static ArtifactType |
ArtifactType.ExtendedDocument(String extendedType) |
static ArtifactType |
ArtifactType.fromFileExtension(String extension)
Deprecated.
|
static ArtifactType |
ArtifactType.PolicyDocument() |
static ArtifactType |
ArtifactType.valueOf(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.Artifact artifactWrapper,
String hint)
What kind of artifact is inside that wrapper?
|
static ArtifactType |
ArtifactType.valueOf(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactEnum apiType)
Figures out the type from the s-ramp API type.
|
static ArtifactType |
ArtifactType.valueOf(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType artifact)
Figures out the type from the artifact instance.
|
static ArtifactType |
ArtifactType.valueOf(String artifactType)
Figures out the artifact type (enum) from the given S-RAMP artifact type string.
|
static ArtifactType |
ArtifactType.valueOf(String model,
String type,
Boolean isDocument)
Determines the ArtifactType from the model and type.
|
static ArtifactType |
ArtifactType.WsdlDocument() |
static ArtifactType |
ArtifactType.XmlDocument() |
static ArtifactType |
ArtifactType.XsdDocument() |
| Modifier and Type | Method and Description |
|---|---|
static ArtifactDeriver |
ArtifactDeriverFactory.createArtifactDeriver(ArtifactType artifactType)
Creates an artifact deriver for a specific type of artifact.
|
Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.