public class SchedulerResourceUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RESERVED_BACKGROUND_EXECUTION_ACTION_ID |
static String |
RESERVEDMAPKEY_LINEAGE_ID |
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 String |
getExtension(String filename) |
static HashMap<String,Serializable> |
handlePDIScheduling(org.pentaho.platform.api.repository2.unified.RepositoryFile file,
HashMap<String,Serializable> parameterMap,
Map<String,String> pdiParameters) |
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 String |
resolveActionId(String inputFile) |
static void |
updateStartDateForTimeZone(JobScheduleRequest request) |
public static final String RESERVEDMAPKEY_LINEAGE_ID
public static final String RESERVED_BACKGROUND_EXECUTION_ACTION_ID
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, Map<String,String> pdiParameters)
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)
Copyright © 2021 Hitachi Vantara. All rights reserved.