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 IJobTrigger |
convertScheduleRequestToJobTrigger(JobScheduleRequest scheduleRequest,
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 IJobTrigger convertScheduleRequestToJobTrigger(JobScheduleRequest scheduleRequest, IScheduler scheduler) throws SchedulerException, org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException
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 © 2018 Hitachi Vantara. All rights reserved.