|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.deployment.impl.server.Deployment
public class Deployment
This is a record of an ongoing deployment. A collection of Deployed Files
| Constructor Summary | |
|---|---|
Deployment(java.lang.String ticket,
java.lang.String targetName,
java.lang.String storeName,
int version)
Create a new Deployment record |
|
| Method Summary | |
|---|---|
void |
abort()
Mark the Deployment as aborting. |
void |
add(DeployedFile file)
Log that a file has been deployed. |
void |
commit()
And commit is now in progress. |
java.lang.String |
getAuthoringStoreName()
Get the name of the store being deployed. |
int |
getAuthoringVersion()
Get the version being deployed. |
DeploymentState |
getState()
Get the state of the deployment. |
boolean |
isMetaError()
Has there been an error detected with meta-data? |
boolean |
isStale(long timeout)
Is the deployment stale. |
java.util.Iterator |
iterator()
get the iterator for the files contained within this deployment. |
void |
prepare()
Prepare this deployment. |
void |
setAuthoringStoreName(java.lang.String storeName)
Get the store name being deployed. |
void |
setAuthoringVersion(int version)
Set the authoring version (of the deployment from the authoring server) |
void |
setDeploymentState(DeploymentState state)
Set the state of a deployment |
void |
setMetaError(boolean metaError)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Deployment(java.lang.String ticket,
java.lang.String targetName,
java.lang.String storeName,
int version)
throws java.io.IOException
ticket - the ticket for this deployment.targetName - the name of the deployment targetstoreName - the name of the source store on the authoring cluster.version - the snapshot version (from the authoring cluster) being deployed.
java.io.IOException| Method Detail |
|---|
public void add(DeployedFile file)
throws java.io.IOException
file -
java.io.IOException
public void prepare()
throws java.io.IOException,
DeploymentException
java.io.IOException
DeploymentException
public void commit()
throws java.io.IOException
java.io.IOException
public void abort()
throws java.io.IOException
java.io.IOExceptionpublic boolean isStale(long timeout)
timeout -
public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic DeploymentState getState()
public void setDeploymentState(DeploymentState state)
state - public void setMetaError(boolean metaError)
public boolean isMetaError()
public void setAuthoringVersion(int version)
authoring - versionpublic int getAuthoringVersion()
public void setAuthoringStoreName(java.lang.String storeName)
storeName - public java.lang.String getAuthoringStoreName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||