|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.bean.wcm.DeploymentUtil
public final class DeploymentUtil
Helper methods for deployment
| Constructor Summary | |
|---|---|
DeploymentUtil()
|
|
| Method Summary | |
|---|---|
static java.util.List |
findAllocatedTestServers(java.lang.String store)
Returns the test servers allocated to the given store. |
static org.alfresco.service.cmr.repository.NodeRef |
findDeploymentAttempt(java.lang.String attemptId)
Retrieves the NodeRef of the deploymentattempt node with the given id |
static java.util.List |
findDeploymentAttempts(java.lang.String store)
Returns all deployment attempts for the given store |
static java.util.List |
findDeploymentAttempts(java.lang.String store,
java.util.Date fromDate,
java.util.Date toDate)
Returns all deployment attempts for the given store |
static java.util.List |
findLiveServers(org.alfresco.service.cmr.repository.NodeRef webProject)
Returns a list of NodeRefs representing the 'live' servers configured for the given web project. |
static java.util.List |
findTestServers(org.alfresco.service.cmr.repository.NodeRef webProject,
boolean availableOnly)
Returns a list of NodeRefs representing the 'test' servers configured for the given web project. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeploymentUtil()
| Method Detail |
|---|
public static java.util.List findDeploymentAttempts(java.lang.String store)
store - The store to get the deployment attempts for
public static java.util.List findDeploymentAttempts(java.lang.String store,
java.util.Date fromDate,
java.util.Date toDate)
store - The store to get the deployment attempts forfromDate - If present only attempts after the given date are returnedtoDate - If present only attempts before the given date are returned, if null
toDate defaults to today's date
public static org.alfresco.service.cmr.repository.NodeRef findDeploymentAttempt(java.lang.String attemptId)
attemptId - The deployattemptid of the node to be found
public static java.util.List findAllocatedTestServers(java.lang.String store)
store - The store to get the test server for
public static java.util.List findLiveServers(org.alfresco.service.cmr.repository.NodeRef webProject)
webProject - Web project to get live servers for
public static java.util.List findTestServers(org.alfresco.service.cmr.repository.NodeRef webProject,
boolean availableOnly)
webProject - Web project to get test servers foravailableOnly - if true only returns those servers still available for deployment
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||