Class SchedulerResourceUtil
- java.lang.Object
-
- org.pentaho.platform.web.http.api.resources.SchedulerResourceUtil
-
public class SchedulerResourceUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringRESERVED_BACKGROUND_EXECUTION_ACTION_IDstatic StringRESERVEDMAPKEY_LINEAGE_ID
-
Constructor Summary
Constructors Constructor Description SchedulerResourceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DateconvertDateToServerTimeZone(Date dateTime, String timeZone)static org.pentaho.platform.api.scheduler2.IJobTriggerconvertScheduleRequestToJobTrigger(JobScheduleRequest scheduleRequest, org.pentaho.platform.api.scheduler2.IScheduler scheduler)static StringgetExtension(String filename)static HashMap<String,Serializable>handlePDIScheduling(org.pentaho.platform.api.repository2.unified.RepositoryFile file, HashMap<String,Serializable> parameterMap, Map<String,String> pdiParameters)static booleanisJob(org.pentaho.platform.api.repository2.unified.RepositoryFile file)static booleanisPdiFile(org.pentaho.platform.api.repository2.unified.RepositoryFile file)static booleanisTransformation(org.pentaho.platform.api.repository2.unified.RepositoryFile file)static StringresolveActionId(String inputFile)static voidupdateStartDateForTimeZone(JobScheduleRequest request)
-
-
-
Field Detail
-
RESERVEDMAPKEY_LINEAGE_ID
public static final String RESERVEDMAPKEY_LINEAGE_ID
- See Also:
- Constant Field Values
-
RESERVED_BACKGROUND_EXECUTION_ACTION_ID
public static final String RESERVED_BACKGROUND_EXECUTION_ACTION_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
convertScheduleRequestToJobTrigger
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
- Throws:
org.pentaho.platform.api.scheduler2.SchedulerExceptionorg.pentaho.platform.api.repository2.unified.UnifiedRepositoryException
-
updateStartDateForTimeZone
public static void updateStartDateForTimeZone(JobScheduleRequest request)
-
convertDateToServerTimeZone
public static Date convertDateToServerTimeZone(Date dateTime, String timeZone)
-
handlePDIScheduling
public static HashMap<String,Serializable> handlePDIScheduling(org.pentaho.platform.api.repository2.unified.RepositoryFile file, HashMap<String,Serializable> parameterMap, Map<String,String> pdiParameters)
-
isPdiFile
public static boolean isPdiFile(org.pentaho.platform.api.repository2.unified.RepositoryFile file)
-
isTransformation
public static boolean isTransformation(org.pentaho.platform.api.repository2.unified.RepositoryFile file)
-
isJob
public static boolean isJob(org.pentaho.platform.api.repository2.unified.RepositoryFile file)
-
-