@Service @PerLookup public class AutoDeploymentOperation extends AutoOperation
Note - Use the newInstance static method to obtain a fully-injected operation; it is safer and more convenient than using the no-arg constructor and then invoking init yourself.
| Modifier and Type | Field and Description |
|---|---|
static Logger |
deplLogger |
| Constructor and Description |
|---|
AutoDeploymentOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getMessageString(AutoDeployer.AutodeploymentStatus ds,
File file)
Returns the appropriate message string for the given operation and the
outcome.
|
protected AutoDeploymentOperation |
init(boolean renameOnSuccess,
File file,
boolean enabled,
String virtualServer,
boolean forceDeploy,
boolean verify,
boolean preJspCompilation,
String target)
Completes the initialization of the object.
|
protected void |
markFiles(AutoDeployer.AutodeploymentStatus ds,
File file)
Marks the files relevant to the specified file appropriately given the
outcome of the command as given in the status.
|
deleteAllMarks, getDeployedFile, getDeployFailedFile, getUndeployedFile, getUndeployFailedFilepublic static final Logger deplLogger
protected AutoDeploymentOperation init(boolean renameOnSuccess, File file, boolean enabled, String virtualServer, boolean forceDeploy, boolean verify, boolean preJspCompilation, String target)
renameOnSuccess - file - enabled - virtualServer - forceDeploy - verify - preJspCompilation - target - protected String getMessageString(AutoDeployer.AutodeploymentStatus ds, File file)
getMessageString in class AutoOperationds - AutodeploymentStatus value giving the outcome of the operationfile - file of interestprotected void markFiles(AutoDeployer.AutodeploymentStatus ds, File file)
markFiles in class AutoOperationds - AutodeploymentStatus indicating the outcome of the operationfile - file of interestCopyright © 2018 Eclipse Foundation. All rights reserved.