public interface Scheduler
| Modifier and Type | Method and Description |
|---|---|
void |
add(BasePackage target)
Adds the scripts belonging to the given package to the scheduler.
|
void |
remove(BasePackage target)
Removes all the scripts of the given package from the scheduler
|
void |
run(KeyData key)
Executes all the scripts stored in the Scheduler for the given package
|
void add(BasePackage target) throws DeployException
target - the packageDeployException - if the methods fails when adding the scriptvoid remove(BasePackage target) throws DeployException
target - the packageDeployException - if the methods fails when removing all the scriptsvoid run(KeyData key) throws DeployException
key - the package keyDeployException - if one of the scripts failsCopyright © 2015. All Rights Reserved.