org.gcube.common.vremanagement.deployer.impl.operators.common
Class InstallScheduler
java.lang.Object
org.gcube.common.vremanagement.deployer.impl.operators.common.BaseScheduler
org.gcube.common.vremanagement.deployer.impl.operators.common.InstallScheduler
- All Implemented Interfaces:
- Scheduler
public class InstallScheduler
- extends BaseScheduler
Scheduler to execute the packages' installation scripts.
- Author:
- Manuele Simi (ISTI-CNR)
- See Also:
Scheduler
scheduler
protected static InstallScheduler scheduler
getScheduler
public static Scheduler getScheduler()
throws DeployException
- Creates and returns a valid scheduler
- Returns:
- an install scheduler instance
- Throws:
DeployException - if the Scheduler initialization fails
getScriptsToSchedule
protected List<String> getScriptsToSchedule(BasePackage target)
- Extracts the scripts to schedule from the given package
- Specified by:
getScriptsToSchedule in class BaseScheduler
- Parameters:
target - the package
- Returns:
- the scripts to schedule
Copyright © 2012. All Rights Reserved.