public final class DeployRequest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<Artifact> |
artifacts |
private java.util.Collection<Metadata> |
metadata |
private RemoteRepository |
repository |
private RequestTrace |
trace |
| Constructor and Description |
|---|
DeployRequest()
Creates an uninitialized request.
|
| Modifier and Type | Method and Description |
|---|---|
DeployRequest |
addArtifact(Artifact artifact)
Adds the specified artifacts for deployment.
|
DeployRequest |
addMetadata(Metadata metadata)
Adds the specified metadata for deployment.
|
java.util.Collection<Artifact> |
getArtifacts()
Gets the artifact to deploy.
|
java.util.Collection<Metadata> |
getMetadata()
Gets the metadata to deploy.
|
RemoteRepository |
getRepository()
Gets the repository to deploy to.
|
RequestTrace |
getTrace()
Gets the trace information that describes the higher level request/operation in which this request is issued.
|
DeployRequest |
setArtifacts(java.util.Collection<Artifact> artifacts)
Sets the artifacts to deploy.
|
DeployRequest |
setMetadata(java.util.Collection<Metadata> metadata)
Sets the metadata to deploy.
|
DeployRequest |
setRepository(RemoteRepository repository)
Sets the repository to deploy to.
|
DeployRequest |
setTrace(RequestTrace trace)
Sets the trace information that describes the higher level request/operation in which this request is issued.
|
java.lang.String |
toString() |
private java.util.Collection<Artifact> artifacts
private java.util.Collection<Metadata> metadata
private RemoteRepository repository
private RequestTrace trace
public java.util.Collection<Artifact> getArtifacts()
null.public DeployRequest setArtifacts(java.util.Collection<Artifact> artifacts)
artifacts - The artifacts to deploy, may be null.null.public DeployRequest addArtifact(Artifact artifact)
artifact - The artifact to add, may be null.null.public java.util.Collection<Metadata> getMetadata()
null.public DeployRequest setMetadata(java.util.Collection<Metadata> metadata)
metadata - The metadata to deploy, may be null.null.public DeployRequest addMetadata(Metadata metadata)
metadata - The metadata to add, may be null.null.public RemoteRepository getRepository()
null if not set.public DeployRequest setRepository(RemoteRepository repository)
repository - The repository to deploy to, may be null.null.public RequestTrace getTrace()
null if none.public DeployRequest setTrace(RequestTrace trace)
trace - The trace information about the higher level operation, may be null.null.public java.lang.String toString()
toString in class java.lang.Object