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 String
RESERVED_BACKGROUND_EXECUTION_ACTION_ID
static String
RESERVEDMAPKEY_LINEAGE_ID
-
Constructor Summary
Constructors Constructor Description SchedulerResourceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
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.SchedulerException
org.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)
-
-