|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.deployment.server.DeploymentServer
public class DeploymentServer
The DeploymentServer is the starting point of the publishing deployment API and represents the core controller of all deployment operations. Access to the deployment topology via the current Target instances is obtained through the DeploymentServer. Additionally, all server-side options are configured through the DeploymentServer.
The following properties are fairly standard and most likely never need to be changed:
Target[] targets = server.getTargets(); for (int tIdx = 0; targets != null && tIdx < targets.length; tIdx++) { AgentRef[] agents = t.getAgents(); for (int aIdx = 0; agents != null && aIdx < agents.length; aIdx++) { AgentRef a = agents[aIdx]; } }A Deployment is specific to the Target it affects and so is only accessible from the Target class. See the Target class for how to access deployments.
The DeploymentServer is the server-side DeploymentEventSender though which custom event listeners can be registered and operate on running and completing deployments.
Target
,
Deployment
,
DeploymentEventSender
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
DeploymentServer()
Empty Constructor. |
Method Summary | |
---|---|
void |
addDeploymentEventListener(DeploymentEventListener pListener)
Adds the listener. |
void |
addTopologyChangeEventListener(TopologyChangeEventListener pListener)
Adds the listener. |
java.lang.String |
clusterName()
Returns a unique identifier for this CA server or, if applicable, a uniquie identifier for the cluster of CA servers it is a part of. |
protected javax.servlet.Servlet |
createAdminServlet()
Creates and returns a new Servlet that will administer this service. |
void |
doStartService()
Performs any necessary initializations to start up service. |
void |
doStopService()
Performs tasks required to shut down service. |
void |
fireDeploymentEvent(DeploymentEvent pEvent)
Fires the given deployment event to the configured listeners. |
void |
fireTopologyChangedEvent()
Fires the given ToplogyChangeEvent to the configured listeners. |
java.lang.String |
generateManifest(java.lang.String pProjectID)
Builds a full deployment manifest for the specified previously deployed Project. |
java.lang.String[] |
getActivateVFSOrder()
An array of VFS service names in the order that they should have update() called on them by responsible agents during the deployment activation phase. |
boolean |
getAllowMissingNonEssentialAgents()
Whether or not to allow non-essential agents to be inaccessible during a deployment. |
int |
getApplyTransactionBatchSize()
The number of asset operations to group into a transaction during manifest application on target agents. |
boolean |
getAutoUpgradeIncrementalDeployments()
For a target which is not incrementally deployable, should an incremental deployment be automatically upgraded to a full deployment. |
atg.service.clustername.ClusterName |
getClusterName()
The ClusterName component, which is responsible for maintaining a unique name for this CA server, and if applicable, the cluster of CA servers it is a part of. |
int |
getCountOfPendingDeployments()
Find the count of pending deployments for all the targets |
int |
getCountOfPendingDeploymentsForProjects(java.lang.String[] pProjectIDs)
Returns the cound of pending deployments for the projects corresponding to the given set of project IDs. |
int |
getCountOfQueuedDeployments()
Find the count of queued deployments for all the targets |
int |
getCountOfScheduledDeployments()
Find the count of scheduled deployments for all the targets |
int |
getCreateManifestTransactionBatchSize()
Get property createManifestTransactionBatchSize . |
java.io.File |
getDataDirectory()
The directory where persistent status and other data is stored. |
Deployment |
getDeploymentByID(java.lang.String pDeploymentID)
Returns the ID'd deployment. |
DeploymentEventListener[] |
getDeploymentEventListeners()
Returns an array of the list of DeploymentEventListener. |
DeploymentFulfiller |
getDeploymentFulfiller()
Get property deploymentFulfiller |
java.lang.String |
getDeploymentPercentageComplete(java.lang.String pPubDeploymentId)
Convenience method to get the percentage completed for the specified deployment ID. |
int |
getDeploymentPollSleepTime()
Number of seconds to sleep during agent manifest application poll phase. |
atg.deployment.server.DeploymentProgressMap |
getDeploymentProgress()
A property used to cache the percentage amount that a deployment has completed. |
DeploymentQueueManager |
getDeploymentQueueManager()
Get the DeploymentQueueManager used to ensure that only one instance of the service is running at any given time. |
Deployment[] |
getDeploymentsForProject(Project pProject)
Returns the list of all deployments, pending or currently running, that include the given Project in the list of project IDs being deployed. |
Deployment[] |
getDeploymentsForProjects(Project[] pProjects)
Returns the list of all deployments, pending or currently running, that include the given Projects in the list of project IDs being deployed. |
int |
getDeploymentThreadPriorityDelta()
A modifier to increase or decrease deployment thread priority. |
int |
getInstallBufferSize()
Size of the write buffer for remote manifest installs. |
atg.deployment.manifest.ManifestManager |
getManifestManager()
The ManifestManager used to manage local manifest files. |
Deployment[] |
getPendingDeployments(int pStartIndex,
int pCount)
Returns the list of pending Deployments as an array which contains queued deployments for each target first (since they cannot be ordered based on any criteria) followed by scheduled deployments for all targets ordered by schedule of execution. |
Deployment[] |
getPendingDeploymentsForProject(java.lang.String pProjectID)
Returns an array of pending deployments for the project with specified project ID. |
Deployment[] |
getPendingDeploymentsForProjects(java.lang.String[] pProjectIDs)
Returns an array of pending deployments for the projects corresponding to the given set of project IDs. |
int |
getProgressUpdatePollSleepTime()
Number of seconds bewteen deployment progress bar updates. |
static java.lang.String[] |
getProjectIDs(Project[] pProjects)
conver array of projects to array of project IDs |
java.lang.String |
getPublishingRepositoryServiceName()
The Nucleus service name for the publishing repository where Editions are stored. |
Deployment[] |
getQueuedDeployments(int pStartIndex,
int pCount)
Returns the list of QUEUED Deployments as an array ordered by schedule of execution for all the targets know to this DeploymentServer. |
boolean |
getReuseFullDeploymentManifests()
Whether or not to preserve and reuse full deployment manifest files. |
atg.server.rmi.RmiServer |
getRmiServer()
The RmiServer for this Dynamo that exports RMI accessible components. |
Deployment[] |
getScheduledDeployments(int pStartIndex,
int pCount)
Returns the list of SCHEDULED Deployments as an array ordered by schedule of execution. |
atg.service.ServerName |
getServerNameService()
Service that provides a name for this server instance. |
Target |
getTargetByID(java.lang.String pTargetID)
Returns the ID'd target. |
Target |
getTargetByName(java.lang.String pTargetName)
Returns the named target. |
Target[] |
getTargets()
Returns an array of the deployment targets defined in the deployment topology. |
TopologyChangeEventListener[] |
getTopologyChangeEventListeners()
Returns an array of the list of TopologyChangeEventListener. |
atg.xml.XMLFile |
getTopologyDefinitionFile()
Deprecated. |
TopologyManager |
getTopologyManager()
TopologyManger to use for reading and managing topology definition. |
int |
getTopologyVersion()
The version of the topology that this server last initialized with. |
javax.transaction.TransactionManager |
getTransactionManager()
Transaction manager to use for various operations. |
VersionManager |
getVersionManager()
The version manager that keeps all versions for all versioned data stores. |
void |
importTopologyFromXML(java.io.InputStream pDefinitionStream)
Imports target definitons from the topology definition XML file given as an input stream Only "new" targets will be imported, that is if a target definition found in the XML file conflicts in name with a target definition found in the topology (surrogate or primary) then the definition is not imported. |
boolean |
isClearDefunctReferences()
This is a flag which, if true indicates that defunct
references should be cleared during deployment. |
boolean |
isDeleteManifests()
Whether or not manifests should be deleted on completed deployment removal. |
boolean |
isExpertAdmin()
Whether or not to turn on "expert" features in the AdminServlet. |
boolean |
isImportAndInitializeTopologyOnStartup()
Get property importAndInitializeTopologyOnStartup |
boolean |
isSkipUndeployableRepositories()
Test property skipUndeployableRepositories . |
boolean |
isUseDafDeployment()
|
void |
reinitializeTopology()
Recreates the "live" topology from the configured topology. |
void |
removeDeploymentEventListener(DeploymentEventListener pListener)
Removes the listener. |
void |
removeTopologyChangeEventListener(TopologyChangeEventListener pListener)
Removes the listener. |
void |
setActivateVFSOrder(java.lang.String[] pActivateVFSOrder)
An array of VFS service names in the order that they should have update() called on them by responsible agents during the deployment activation phase. |
void |
setAllowMissingNonEssentialAgents(boolean pAllowMissingNonEssentialAgents)
Whether or not to allow non-essential agents to be inaccessible during a deployment. |
void |
setApplyTransactionBatchSize(int pApplyTransactionBatchSize)
The number of asset operations to group into a transaction during manifest application on target agents. |
void |
setAutoUpgradeIncrementalDeployments(boolean pAutoUpgradeIncrementalDeployments)
For a target which is not incrementally deployable, should an incremental deployment be automatically upgraded to a full deployment. |
void |
setClearDefunctReferences(boolean pClearDefunctReferences)
This is a flag which, if true , indicates that defunct
references should be cleared during deployment. |
void |
setClusterName(atg.service.clustername.ClusterName pClusterName)
The ClusterName component, which is responsible for maintaining a unique name for this CA server, and if applicable, the cluster of CA servers it is a part of. |
void |
setCreateManifestTransactionBatchSize(int pCreateManifestTransactionBatchSize)
Set property createManifestTransactionBatchSize . |
void |
setDataDirectory(java.io.File pDataDirectory)
The directory where persistent status and other data is stored. |
void |
setDeleteManifests(boolean pDeleteManifests)
Whether or not manifests should be deleted on completed deployment removal. |
void |
setDeploymentFulfiller(DeploymentFulfiller pDeploymentFulfiller)
Set property deploymentFulfiller |
void |
setDeploymentPercentageComplete(java.lang.String pPubDeploymentId,
java.lang.String pPercentageComplete)
Convenience method to set the percentage completed for the specified deployment ID. |
void |
setDeploymentPollSleepTime(int pDeploymentPollSleepTime)
Number of seconds to sleep during agent manifest application poll phase. |
void |
setDeploymentProgress(atg.deployment.server.DeploymentProgressMap pDeploymentProgress)
A property used to cache the percentage amount that a deployment has completed. |
void |
setDeploymentQueueManager(DeploymentQueueManager pDeploymentQueueManager)
Set the DeploymentQueueManager used to ensure that only one instance of the service is running at any given time. |
void |
setDeploymentThreadPriorityDelta(int pDeploymentThreadPriorityDelta)
A modifier to increase or decrease deployment thread priority. |
void |
setExpertAdmin(boolean pExpertAdmin)
Whether or not to turn on "expert" features in the AdminServlet. |
void |
setImportAndInitializeTopologyOnStartup(boolean pImportAndInitializeTopologyOnStartup)
Set property importAndInitializeTopologyOnStartup |
void |
setInstallBufferSize(int pInstallBufferSize)
Size of the write buffer for remote manifest installs. |
void |
setManifestManager(atg.deployment.manifest.ManifestManager pManifestManager)
The ManifestManager used to manage local manifest files. |
void |
setProgressUpdatePollSleepTime(int pProgressUpdatePollSleepTime)
Number of seconds bewteen deployment progress bar updates. |
void |
setPublishingRepositoryServiceName(java.lang.String pPublishingRepositoryServiceName)
The Nucleus service name for the publishing repository where Editions are stored. |
void |
setReuseFullDeploymentManifests(boolean pReuseFullDeploymentManifests)
Whether or not to preserve and reuse full deployment manifest files. |
void |
setRmiServer(atg.server.rmi.RmiServer pRmiServer)
The RmiServer for this Dynamo that exports RMI accessible components. |
void |
setServerNameService(atg.service.ServerName pServerNameService)
Service that provides a name for this server instance. |
void |
setSkipUndeployableRepositories(boolean pSkipUndeployableRepositories)
Set property skipUndeployableRepositories . |
void |
setTopologyDefinitionFile(atg.xml.XMLFile pTopologyDefinitionFile)
Deprecated. |
void |
setTopologyManager(TopologyManager pTopologyManager)
TopologyManger to use for reading and managing topology definition. |
void |
setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
Transaction manager to use for various operations. |
void |
setUseDafDeployment(boolean pUseDafDeployment)
|
void |
setVersionManager(VersionManager pVersionManager)
The version manager that keeps all versions for all versioned data stores. |
void |
updateDeploymentProgress(java.lang.String pDafDeploymentId,
int pDeploymentMode,
boolean pIsDeploymentFirstPass)
Updates the DeploymentProgressMap, calculating an updated percentage complete for a given deployment. |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public DeploymentServer()
Method Detail |
---|
public boolean isUseDafDeployment()
public void setUseDafDeployment(boolean pUseDafDeployment)
public atg.deployment.server.DeploymentProgressMap getDeploymentProgress()
public void setDeploymentProgress(atg.deployment.server.DeploymentProgressMap pDeploymentProgress)
public int getProgressUpdatePollSleepTime()
public void setProgressUpdatePollSleepTime(int pProgressUpdatePollSleepTime)
public void setServerNameService(atg.service.ServerName pServerNameService)
public atg.service.ServerName getServerNameService()
public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
public javax.transaction.TransactionManager getTransactionManager()
public void setVersionManager(VersionManager pVersionManager)
public VersionManager getVersionManager()
public void setRmiServer(atg.server.rmi.RmiServer pRmiServer)
public atg.server.rmi.RmiServer getRmiServer()
public void setManifestManager(atg.deployment.manifest.ManifestManager pManifestManager)
public atg.deployment.manifest.ManifestManager getManifestManager()
public void setDataDirectory(java.io.File pDataDirectory)
public java.io.File getDataDirectory()
public void setPublishingRepositoryServiceName(java.lang.String pPublishingRepositoryServiceName)
public java.lang.String getPublishingRepositoryServiceName()
public void setTopologyManager(TopologyManager pTopologyManager)
public TopologyManager getTopologyManager()
public void setTopologyDefinitionFile(atg.xml.XMLFile pTopologyDefinitionFile)
pTopologyDefinitionFile
- new value to setpublic atg.xml.XMLFile getTopologyDefinitionFile()
public boolean isImportAndInitializeTopologyOnStartup()
importAndInitializeTopologyOnStartup
importAndInitializeTopologyOnStartup
public void setImportAndInitializeTopologyOnStartup(boolean pImportAndInitializeTopologyOnStartup)
importAndInitializeTopologyOnStartup
pImportAndInitializeTopologyOnStartup
- new value to setpublic void setDeploymentQueueManager(DeploymentQueueManager pDeploymentQueueManager)
public DeploymentQueueManager getDeploymentQueueManager()
public DeploymentFulfiller getDeploymentFulfiller()
deploymentFulfiller
public void setDeploymentFulfiller(DeploymentFulfiller pDeploymentFulfiller)
deploymentFulfiller
public void setDeploymentThreadPriorityDelta(int pDeploymentThreadPriorityDelta)
public int getDeploymentThreadPriorityDelta()
public void setDeploymentPollSleepTime(int pDeploymentPollSleepTime)
public int getDeploymentPollSleepTime()
public void setInstallBufferSize(int pInstallBufferSize)
public int getInstallBufferSize()
public void setApplyTransactionBatchSize(int pApplyTransactionBatchSize)
During the deployment application phase many operations are performed, e.g. each repository addItem(), udpateItem(), and removeItem() count as an operation. This could potentially cause an overly large transaction. The value of this property specifies the maximum number of operations to batch into a single transaction before committing and starting a new transaction. Setting this value to zero or less will make deployment application use a single transaction. The default value is 200.
public int getApplyTransactionBatchSize()
During the deployment application phase many operations are performed, e.g. each repository addItem(), udpateItem(), and removeItem() count as an operation. This could potentially cause an overly large transaction. The value of this property specifies the maximum number of operations to batch into a single transaction before committing and starting a new transaction. Setting this value to zero or less will make deployment application use a single transaction. The default value is 200.
public void setCreateManifestTransactionBatchSize(int pCreateManifestTransactionBatchSize)
createManifestTransactionBatchSize
. This is the maximum
number of repository items and VFS assets to read in a single
transaction while creating a manifest. A value of 0 means perform all operations in a single
transaction. The default is 1000.
pCreateManifestTransactionBatchSize
- new value to setpublic int getCreateManifestTransactionBatchSize()
createManifestTransactionBatchSize
. This is the maximum
number of repository items and VFS assets to read in a single
transaction while creating a manifest. A value of 0 means perform all operations in a single
transaction. The default is 1000.
createManifestTransactionBatchSize
public void setAllowMissingNonEssentialAgents(boolean pAllowMissingNonEssentialAgents)
Non-essential agents are those agents in a target that do not have any deployment responsibilities. They are listed in the target so that they can be told to flush necessary caches or to perform data store switches to keep in sync with the responsible agents. But they do not write any data and so are considered non-essential. Setting this property to true allows a non-essential agent to be inaccessible and thus left out of a deployment. If configured for switch deployments, this could allow a non-essential agent to get out of sync, i.e. looking at the wrong data store for a live data store. The seriousness of such happening is questionable since both live and staging data stores are eventually populated in a deployment. Also, inaccessible agents are logged and so careful scrutiny and maintenance can bring them back into sync by hand. Additionally, out of sync agents will be reconciled during the next deployment thus the condition is not detrimental to other deployments.
public boolean getAllowMissingNonEssentialAgents()
Non-essential agents are those agents in a target that do not have any deployment responsibilities. They are listed in the target so that they can be told to flush necessary caches or to perform data store switches to keep in sync with the responsible agents. But they do not write any data and so are considered non-essential. Setting this property to true allows a non-essential agent to be inaccessible and thus left out of a deployment. If configured for switch deployments, this could allow a non-essential agent to get out of sync, i.e. looking at the wrong data store for a live data store. The seriousness of such happening is questionable since both live and staging data stores are eventually populated in a deployment. Also, inaccessible agents are logged and so careful scrutiny and maintenance can bring them back into sync by hand. Additionally, out of sync agents will be reconciled during the next deployment thus the condition is not detrimental to other deployments.
public void setActivateVFSOrder(java.lang.String[] pActivateVFSOrder)
public java.lang.String[] getActivateVFSOrder()
public void setReuseFullDeploymentManifests(boolean pReuseFullDeploymentManifests)
When set to true, the deployment server will *NOT* delete full deployment manifests on the publishing server (manifests will still be deleted on the agents). Likewise, when a full deployment is requested, the server will first check to see if a full deployment manifest for the given edition already exists and reuse the manifest accordingly.
When using this feature, users are responsible for deleting full deployment manifests that they do not want to preserve. (Until sometime in the future when the UI will have a flag indicating whether or not to keep a manifest for a given deployment, making this flag obsolete.)
public boolean getReuseFullDeploymentManifests()
When set to true, the deployment server will *NOT* delete full deployment manifests on the publishing server (manifests will still be deleted on the agents). Likewise, when a full deployment is requested, the server will first check to see if a full deployment manifest for the given edition already exists and reuse the manifest accordingly.
When using this feature, users are responsible for deleting full deployment manifests that they do not want to preserve. (Until sometime in the future when the UI will have a flag indicating whether or not to keep a manifest for a given deployment, making this flag obsolete.)
public void setDeleteManifests(boolean pDeleteManifests)
public boolean isDeleteManifests()
public void setAutoUpgradeIncrementalDeployments(boolean pAutoUpgradeIncrementalDeployments)
public boolean getAutoUpgradeIncrementalDeployments()
public void setClearDefunctReferences(boolean pClearDefunctReferences)
true
, indicates that defunct
references should be cleared during deployment. A defunct
refererence is a property value that refers to an item which will
be removed in this deployment. In certain cases defunct
references mustd be cleared to prevent DB constraint violations
during deployments that involve deleting assets. The default is
true
.
public boolean isClearDefunctReferences()
true
indicates that defunct
references should be cleared during deployment. A defunct
refererence is a property value that refers to an item which will
be removed in this deployment. In certain cases defunct
references mustd be cleared to prevent DB constraint violations
during deployments that involve deleting assets. The default is
true
.
public void setExpertAdmin(boolean pExpertAdmin)
public boolean isExpertAdmin()
public void setSkipUndeployableRepositories(boolean pSkipUndeployableRepositories)
skipUndeployableRepositories
. This is a flag
which, if true
, indicates that full deployments should skip
repositories that contain no deployable item descriptors. The default is
true
. This property should generally not be changed.
pSkipUndeployableRepositories
- new value to setpublic boolean isSkipUndeployableRepositories()
skipUndeployableRepositories
. This is a flag
which, if true
, indicates that full deployments should skip
repositories that contain no deployable item descriptors. The default is
true
. This property should generally not be changed.
skipUndeployableRepositories
public void setClusterName(atg.service.clustername.ClusterName pClusterName)
pClusterName
- The ClusterName componentpublic atg.service.clustername.ClusterName getClusterName()
public int getTopologyVersion()
public void doStartService() throws ServiceException
This method should only be called by Nucleus.
doStartService
in class GenericService
ServiceException
- if the Service had a problem starting uppublic void doStopService() throws ServiceException
This method should only be called by Nucleus.
doStopService
in class GenericService
ServiceException
- if the Service had a problem shutting downpublic DeploymentEventListener[] getDeploymentEventListeners()
getDeploymentEventListeners
in interface DeploymentEventSender
public void addDeploymentEventListener(DeploymentEventListener pListener)
addDeploymentEventListener
in interface DeploymentEventSender
pListener
- the listener wanting to know of deployment eventsDeploymentEventListener
public void removeDeploymentEventListener(DeploymentEventListener pListener)
removeDeploymentEventListener
in interface DeploymentEventSender
pListener
- the listener wanting to know of deployment eventsDeploymentEventListener
public TopologyChangeEventListener[] getTopologyChangeEventListeners()
public void addTopologyChangeEventListener(TopologyChangeEventListener pListener)
pListener
- the listener wanting to know of topology change eventatg.deployment.common.event.TopologyChangeEventListener
public void removeTopologyChangeEventListener(TopologyChangeEventListener pListener)
pListener
- the listener wanting to know of topology change eventatg.deployment.common.event.TopologyChangeEventListener
public void fireTopologyChangedEvent()
atg.deployment.common.event.TopologyChangeEvent
public void fireDeploymentEvent(DeploymentEvent pEvent)
fireDeploymentEvent
in interface DeploymentEventSender
DeploymentEvent
public void importTopologyFromXML(java.io.InputStream pDefinitionStream) throws DeploymentException
Once imported, new definitions are made live through the deployment admin UI.
DeploymentException
public void reinitializeTopology() throws DeploymentException
Reinitialization of the topology is only allowed when there are no Deployment instances. Each Target should be checked and have any associated Deployment removed before reinitializeTopology() is called.
DeploymentException
- on XML error or other initialization errorpublic Target[] getTargets()
public Target getTargetByName(java.lang.String pTargetName)
pTargetName
- the name of the target, specifically Target.getName()public Target getTargetByID(java.lang.String pTargetID)
pTargetID
- the ID of the target, specifically Target.getID()public Deployment getDeploymentByID(java.lang.String pDeploymentID) throws DeploymentException
pDeploymentID
- the ID of the deployment, specifically Deployment.getDeploymentID()
DeploymentException
public Deployment[] getDeploymentsForProjects(Project[] pProjects) throws DeploymentException
DeploymentException
public Deployment[] getDeploymentsForProject(Project pProject) throws DeploymentException
DeploymentException
public void updateDeploymentProgress(java.lang.String pDafDeploymentId, int pDeploymentMode, boolean pIsDeploymentFirstPass)
pDafDeploymentId
- the DAF deployment IDpDeploymentMode
- online or switchpIsDeploymentFirstPass
- public void setDeploymentPercentageComplete(java.lang.String pPubDeploymentId, java.lang.String pPercentageComplete)
pPubDeploymentId
- The publishing deployment IDpPercentageComplete
- The percentage completepublic java.lang.String getDeploymentPercentageComplete(java.lang.String pPubDeploymentId)
pPubDeploymentId
- The publishing deployment ID
public java.lang.String generateManifest(java.lang.String pProjectID) throws DeploymentException
pProjectID
- the project ID (not display name) to create a manifest for
DeploymentException
- on manifest creation errorpublic java.lang.String clusterName()
protected javax.servlet.Servlet createAdminServlet()
createAdminServlet
in class GenericService
public int getCountOfPendingDeployments() throws DeploymentException
DeploymentException
public Deployment[] getPendingDeployments(int pStartIndex, int pCount) throws DeploymentException
The list of pending Deployments includes scheduled Deployments whose scheduled execution time has not yet come to term as well as all Deployments that are queued for immediate execution. Each Deployment's Status indicates whether the Deployment is scheduled or waiting to run.
The list of pending Deployments does *NOT* include the current running Deployment nor any completed Deployments.
DeploymentException
public int getCountOfQueuedDeployments() throws DeploymentException
DeploymentException
public Deployment[] getQueuedDeployments(int pStartIndex, int pCount) throws DeploymentException
to get a list of all pending deployments use @link getPendingDeployments()
The list of queued (@see Status.WAITING_QUEUED) deployments does *NOT* include the current running Deployment nor any completed Deployments.
DeploymentException
public int getCountOfScheduledDeployments() throws DeploymentException
DeploymentException
public Deployment[] getScheduledDeployments(int pStartIndex, int pCount) throws DeploymentException
to get a list of all pending deployments use @link getPendingDeployments()
@see Status.WAITING_SCHEDULED
DeploymentException
public Deployment[] getPendingDeploymentsForProjects(java.lang.String[] pProjectIDs) throws DeploymentException
pProjectIDs
-
DeploymentException
public int getCountOfPendingDeploymentsForProjects(java.lang.String[] pProjectIDs) throws DeploymentException
pProjectIDs
-
DeploymentException
public Deployment[] getPendingDeploymentsForProject(java.lang.String pProjectID) throws DeploymentException
pProjectID
-
DeploymentException
public static java.lang.String[] getProjectIDs(Project[] pProjects)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |