public class SchedulerResourceUtil extends Object
Constructor and Description |
---|
SchedulerResourceUtil() |
Modifier and Type | Method and Description |
---|---|
static Date |
convertDateToServerTimeZone(Date dateTime,
String timeZone) |
static org.pentaho.platform.api.scheduler2.IJobTrigger |
convertScheduleRequestToJobTrigger(JobScheduleRequest scheduleRequest,
org.pentaho.platform.api.scheduler2.IScheduler scheduler) |
static HashMap<String,Serializable> |
handlePDIScheduling(org.pentaho.platform.api.repository2.unified.RepositoryFile file,
HashMap<String,Serializable> parameterMap) |
static boolean |
isJob(org.pentaho.platform.api.repository2.unified.RepositoryFile file) |
static boolean |
isPdiFile(org.pentaho.platform.api.repository2.unified.RepositoryFile file) |
static boolean |
isTransformation(org.pentaho.platform.api.repository2.unified.RepositoryFile file) |
static void |
updateStartDateForTimeZone(JobScheduleRequest request) |
public static org.pentaho.platform.api.scheduler2.IJobTrigger convertScheduleRequestToJobTrigger(JobScheduleRequest scheduleRequest, org.pentaho.platform.api.scheduler2.IScheduler scheduler) throws org.pentaho.platform.api.scheduler2.SchedulerException, org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException
org.pentaho.platform.api.scheduler2.SchedulerException
org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException
public static void updateStartDateForTimeZone(JobScheduleRequest request)
public static Date convertDateToServerTimeZone(Date dateTime, String timeZone)
public static HashMap<String,Serializable> handlePDIScheduling(org.pentaho.platform.api.repository2.unified.RepositoryFile file, HashMap<String,Serializable> parameterMap)
public static boolean isPdiFile(org.pentaho.platform.api.repository2.unified.RepositoryFile file)
public static boolean isTransformation(org.pentaho.platform.api.repository2.unified.RepositoryFile file)
public static boolean isJob(org.pentaho.platform.api.repository2.unified.RepositoryFile file)