| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.deployment.server.queue.RecurringDeploymentService
public class RecurringDeploymentService
This service is responsible for initiating a deployment of all pending projects at a user defined interval.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSION | 
| 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 | |
|---|---|
| RecurringDeploymentService() | |
| Method Summary | |
|---|---|
|  void | doStartService()Schedules the recurring deployment job | 
|  void | doStopService()Removes the recurring deployment job from the scheduler | 
|  java.lang.String[] | getCandidateTargetNames()Get CandidateTargetNames. | 
|  DeploymentServer | getDeploymentServer() | 
|  boolean | getEnabled() | 
|  java.lang.String | getPersonaPrefix() | 
|  java.util.Collection | getProjectsToDeploy(java.util.Collection pAllPendingProjects,
                    java.lang.String pTargetId)Returns the list of projects to deploy. | 
|  Schedule | getSchedule() | 
|  Scheduler | getScheduler()Get property scheduler | 
|  javax.transaction.TransactionManager | getTransactionManager() | 
|  UserDirectoryUserAuthority | getUserAuthority()Returns the UserAuthority | 
|  java.lang.String | getUsername() | 
|  VersionManager | getVersionManager() | 
|  boolean | isForceFull()Whether to force a full deployment. | 
| protected  boolean | login()Authenticate this session to permit further operations requiring a knowledge of the user's identity. | 
| protected  void | logout() | 
|  void | performScheduledTask(Scheduler pScheduler,
                     ScheduledJob pJob)Perform the scheduled task for this service. | 
|  void | setCandidateTargetNames(java.lang.String[] pCandidateTargetNames)Set CandidateTargetNames. | 
|  void | setDeploymentServer(DeploymentServer pDeploymentServer) | 
|  void | setEnabled(boolean pEnabled) | 
|  void | setForceFull(boolean pForceFull) | 
|  void | setPersonaPrefix(java.lang.String string) | 
|  void | setSchedule(Schedule schedule) | 
|  void | setScheduler(Scheduler pScheduler)Set property scheduler | 
|  void | setTransactionManager(javax.transaction.TransactionManager pTransactionManager) | 
|  void | setUserAuthority(UserDirectoryUserAuthority pUserAuthority)Sets the UserAuthority | 
|  void | setUsername(java.lang.String string) | 
|  void | setVersionManager(VersionManager pVersionManager) | 
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl | 
|---|
| vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 RecurringDeploymentService()
| Method Detail | 
|---|
public Schedule getSchedule()
public void setSchedule(Schedule schedule)
schedule - the recurring deployment schedule which is supplied
                 to the scheduler servicepublic void setCandidateTargetNames(java.lang.String[] pCandidateTargetNames)
pCandidateTargetNames - the value to set.public java.lang.String[] getCandidateTargetNames()
public UserDirectoryUserAuthority getUserAuthority()
public void setUserAuthority(UserDirectoryUserAuthority pUserAuthority)
public java.lang.String getPersonaPrefix()
public void setPersonaPrefix(java.lang.String string)
string - the persona prefix to use to resolve the username given
 in the action within the workflowpublic boolean isForceFull()
public void setForceFull(boolean pForceFull)
pForceFull - The forceFull to set.public java.lang.String getUsername()
public void setUsername(java.lang.String string)
string - the username to execute the deployment in the context ofpublic void setScheduler(Scheduler pScheduler)
scheduler
pScheduler - new value to setpublic Scheduler getScheduler()
scheduler
schedulerpublic DeploymentServer getDeploymentServer()
public void setDeploymentServer(DeploymentServer pDeploymentServer)
pDeploymentServer - The deploymentServer to set.public javax.transaction.TransactionManager getTransactionManager()
public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
pTransactionManager - The transactionManager to set.public VersionManager getVersionManager()
public void setVersionManager(VersionManager pVersionManager)
pVersionManager - The versionManager to set.public boolean getEnabled()
public void setEnabled(boolean pEnabled)
pEnabled - the enabled flag
public void doStartService()
                    throws ServiceException
doStartService in class GenericServiceServiceException - if the Service had a problem starting upGenericService.doStartService()
public void doStopService()
                   throws ServiceException
doStopService in class GenericServiceServiceException - if the Service had a problem shutting downGenericService.doStopService()
public void performScheduledTask(Scheduler pScheduler,
                                 ScheduledJob pJob)
performScheduledTask in interface SchedulablepScheduler - the scheduler which is starting this jobpJob - the job to start
public java.util.Collection getProjectsToDeploy(java.util.Collection pAllPendingProjects,
                                                java.lang.String pTargetId)
pAllPendingProjects - the list of all the current pending projects for deployment.pTargetId - 
protected boolean login()
protected void logout()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||