public class RecurringDeploymentService extends GenericService implements Schedulable
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION  | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
RecurringDeploymentService()  | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
addLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic 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)
schedulerpScheduler - new value to setpublic Scheduler getScheduler()
schedulerschedulerpublic 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 flagpublic 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 startpublic 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()