A C D G I J M O P Q R S U

A

accepts(CandidateArtifact) - Method in interface org.overlord.sramp.client.jar.ArtifactFilter
Called to determine if a given artifact from the source archive should be included in the target S-RAMP archive.
accepts(CandidateArtifact) - Method in class org.overlord.sramp.client.jar.DefaultArtifactFilter
 
add(File) - Method in class org.overlord.sramp.client.jar.DiscoveredArtifacts
Adds a candidate artifact to the set of collected (accepted/discovered) artifacts.
ArtifactFilter - Interface in org.overlord.sramp.client.jar
Interface used by the JarToSrampArchive class when discovering artifacts in the source archive that should be included in the target S-RAMP archive.

C

CandidateArtifact - Class in org.overlord.sramp.client.jar
An artifact that *may* get included in the S-RAMP archive being created from a source JAR archive.
CandidateArtifact(File) - Constructor for class org.overlord.sramp.client.jar.CandidateArtifact
Constructor.
ClientRequest - Class in org.overlord.sramp.client
Extends the RESTEasy ClientRequest class in order to provide a ClientExecutor and ResteasyProviderFactory without requiring clients to pass them in.
ClientRequest(String) - Constructor for class org.overlord.sramp.client.ClientRequest
Constructor.
close() - Method in class org.overlord.sramp.client.jar.JarToSrampArchive
This object should be closed once we're done with it.
closeQuietly(JarToSrampArchive) - Static method in class org.overlord.sramp.client.jar.JarToSrampArchive
 
createMetaData(DiscoveredArtifact) - Method in class org.overlord.sramp.client.jar.DefaultMetaDataFactory
 
createMetaData(DiscoveredArtifact) - Method in interface org.overlord.sramp.client.jar.MetaDataFactory
Creates the meta-data object (S-RAMP specific) for the given artifact that will be included in the S-RAMP archive being created.
createSrampArchive() - Method in class org.overlord.sramp.client.jar.JarToSrampArchive
Creates an S-RAMP archive from this JAR.

D

DefaultArtifactFilter - Class in org.overlord.sramp.client.jar
A default implementation of an ArtifactFilter that includes only those files that are likely to be understood by the S-RAMP server (XML, Schema, WSDL, etc).
DefaultArtifactFilter() - Constructor for class org.overlord.sramp.client.jar.DefaultArtifactFilter
Constructor.
DefaultMetaDataFactory - Class in org.overlord.sramp.client.jar
Default implementation of a meta-data factory, providing a reasonable starting point for custom extensions (though it can also be used as-is to provide a very S-RAMP strict impl).
DefaultMetaDataFactory() - Constructor for class org.overlord.sramp.client.jar.DefaultMetaDataFactory
Constructor.
delete(Class<T>) - Method in class org.overlord.sramp.client.ClientRequest
 
deleteArtifact(String, ArtifactType) - Method in class org.overlord.sramp.client.SrampAtomApiClient
Delets an artifact from the s-ramp repository.
DiscoveredArtifact - Class in org.overlord.sramp.client.jar
An artifact that will be incuded in the final S-RAMP archive.
DiscoveredArtifact(File) - Constructor for class org.overlord.sramp.client.jar.DiscoveredArtifact
Constructor.
DiscoveredArtifacts - Class in org.overlord.sramp.client.jar
The collection of artifacts found during the discovery process.
DiscoveredArtifacts() - Constructor for class org.overlord.sramp.client.jar.DiscoveredArtifacts
Constructor.

G

get(Class<T>) - Method in class org.overlord.sramp.client.ClientRequest
 
getArchivePath() - Method in class org.overlord.sramp.client.jar.DiscoveredArtifact
 
getArtifactContent(ArtifactType, String) - Method in class org.overlord.sramp.client.SrampAtomApiClient
Gets the content for an artifact as an input stream.
getArtifacts() - Method in class org.overlord.sramp.client.jar.DiscoveredArtifacts
 
getContent() - Method in class org.overlord.sramp.client.jar.DiscoveredArtifact
Returns an InputStream over the content of the artifact.
getFile() - Method in class org.overlord.sramp.client.jar.DiscoveredArtifact
 
getFullArtifactEntry(ArtifactType, String) - Method in class org.overlord.sramp.client.SrampAtomApiClient
Gets an Atom Entry for the given S-RAMP artifact by UUID.
getMetaData() - Method in class org.overlord.sramp.client.jar.DiscoveredArtifact
 
getName() - Method in class org.overlord.sramp.client.jar.CandidateArtifact
Gets the name of the candidate artifact.
getName() - Method in class org.overlord.sramp.client.jar.DiscoveredArtifact
Gets the short name of the artifact.
getRemoteStackTrace() - Method in exception org.overlord.sramp.client.SrampServerException
 

I

index(File) - Method in class org.overlord.sramp.client.jar.DiscoveredArtifacts
Indexes all of the discovered artifacts using the given directory as the base directory (for determining canonical archive paths).
isReadable(Class<?>, Type, Annotation[], MediaType) - Method in class org.overlord.sramp.client.SrampClientExceptionReader
 
iterator() - Method in class org.overlord.sramp.client.jar.DiscoveredArtifacts
 

J

JarToSrampArchive - Class in org.overlord.sramp.client.jar
Class that converts a JAR into an S-RAMP archive.
JarToSrampArchive(File) - Constructor for class org.overlord.sramp.client.jar.JarToSrampArchive
Constructor.
JarToSrampArchive(InputStream) - Constructor for class org.overlord.sramp.client.jar.JarToSrampArchive
Constructor from JAR input stream.
JarToSrampArchiveException - Exception in org.overlord.sramp.client.jar
Exception thrown when a problem with the JarToSrampArchive class encounters an error.
JarToSrampArchiveException() - Constructor for exception org.overlord.sramp.client.jar.JarToSrampArchiveException
Constructor.
JarToSrampArchiveException(String) - Constructor for exception org.overlord.sramp.client.jar.JarToSrampArchiveException
Constructor.
JarToSrampArchiveException(String, Throwable) - Constructor for exception org.overlord.sramp.client.jar.JarToSrampArchiveException
Constructor.
JarToSrampArchiveException(Throwable) - Constructor for exception org.overlord.sramp.client.jar.JarToSrampArchiveException
Constructor.

M

MetaDataFactory - Interface in org.overlord.sramp.client.jar
Factory responsible for creating artifact meta data.

O

org.overlord.sramp.client - package org.overlord.sramp.client
 
org.overlord.sramp.client.jar - package org.overlord.sramp.client.jar
 

P

post(Class<T>) - Method in class org.overlord.sramp.client.ClientRequest
 
put(Class<T>) - Method in class org.overlord.sramp.client.ClientRequest
 

Q

query(String) - Method in class org.overlord.sramp.client.SrampAtomApiClient
Provides a very simple mechanism for querying.
query(String, int, int, String, boolean) - Method in class org.overlord.sramp.client.SrampAtomApiClient
Executes the given s-ramp query xpath and returns a Feed of the matching artifacts.

R

readFrom(Class<SrampServerException>, Type, Annotation[], MediaType, MultivaluedMap<String, String>, InputStream) - Method in class org.overlord.sramp.client.SrampClientExceptionReader
 

S

setArchivePath(String) - Method in class org.overlord.sramp.client.jar.DiscoveredArtifact
 
setArtifactFilter(ArtifactFilter) - Method in class org.overlord.sramp.client.jar.JarToSrampArchive
 
setArtifacts(Set<DiscoveredArtifact>) - Method in class org.overlord.sramp.client.jar.DiscoveredArtifacts
 
setFile(File) - Method in class org.overlord.sramp.client.jar.DiscoveredArtifact
 
setMetaData(BaseArtifactType) - Method in class org.overlord.sramp.client.jar.DiscoveredArtifact
 
setMetaDataFactory(MetaDataFactory) - Method in class org.overlord.sramp.client.jar.JarToSrampArchive
 
setRemoteStackTrace(String) - Method in exception org.overlord.sramp.client.SrampServerException
 
SrampAtomApiClient - Class in org.overlord.sramp.client
Class used to communicate with the S-RAMP server.
SrampAtomApiClient(String) - Constructor for class org.overlord.sramp.client.SrampAtomApiClient
Constructor.
SrampClientException - Exception in org.overlord.sramp.client
Exception thrown by the S-RAMP client when an error of some kind is encountered.
SrampClientException() - Constructor for exception org.overlord.sramp.client.SrampClientException
Constructor.
SrampClientException(String) - Constructor for exception org.overlord.sramp.client.SrampClientException
Constructor.
SrampClientException(String, Throwable) - Constructor for exception org.overlord.sramp.client.SrampClientException
Constructor.
SrampClientException(Throwable) - Constructor for exception org.overlord.sramp.client.SrampClientException
Constructor.
SrampClientExceptionReader - Class in org.overlord.sramp.client
A RESTEasy message body reader that is capable of reading an exception from the response body.
SrampClientExceptionReader() - Constructor for class org.overlord.sramp.client.SrampClientExceptionReader
Constructor.
SrampServerException - Exception in org.overlord.sramp.client
Exception thrown by the S-RAMP client when an error is received from the s-ramp server (repository).
SrampServerException() - Constructor for exception org.overlord.sramp.client.SrampServerException
Constructor.
SrampServerException(String) - Constructor for exception org.overlord.sramp.client.SrampServerException
Constructor.
SrampServerException(String, Throwable) - Constructor for exception org.overlord.sramp.client.SrampServerException
Constructor.
SrampServerException(Throwable) - Constructor for exception org.overlord.sramp.client.SrampServerException
Constructor.

U

updateArtifact(BaseArtifactType, InputStream) - Method in class org.overlord.sramp.client.SrampAtomApiClient
Updates the content of the artifact.
updateArtifactMetaData(BaseArtifactType) - Method in class org.overlord.sramp.client.SrampAtomApiClient
Called to update the meta-data stored in the s-ramp repository for the given s-ramp artifact.
uploadArtifact(ArtifactType, InputStream, String) - Method in class org.overlord.sramp.client.SrampAtomApiClient
Please refer to javadoc in SrampAtomApiClient#uploadArtifact(String, String, InputStream, String)
uploadBatch(SrampArchive) - Method in class org.overlord.sramp.client.SrampAtomApiClient
Performs a batch operation by uploading an s-ramp package archive to the s-ramp server for processing.

A C D G I J M O P Q R S U

Copyright © 2011-2012 JBoss, a division of Red Hat. All Rights Reserved.