-
Notifications
You must be signed in to change notification settings - Fork 723
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKLOG-39033] - Merge branch 'scheduler-plugin' of github.com:penta…
…ho/pentaho-platform into master-merge-scheduler-plugin # Conflicts: # THESE CONFLICTING FILES WERE MOVE TO THE SCHEDULER-PLUGIN PROJECT AND WERE # REMOVED FROM THIS PROJECT # scheduler/src/main/java/org/pentaho/platform/scheduler2/quartz/QuartzScheduler.java # scheduler/src/test/java/org/pentaho/platform/scheduler2/quartz/test/ComplexTriggerTest.java # user-console/src/main/java/org/pentaho/mantle/client/workspace/SchedulesPanel.java
- Loading branch information
Showing
198 changed files
with
1,871 additions
and
22,716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
api/src/main/java/org/pentaho/platform/api/scheduler2/IComplexJobTrigger.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package org.pentaho.platform.api.scheduler2; | ||
|
||
import org.pentaho.platform.api.scheduler2.wrappers.DayOfMonthWrapper; | ||
import org.pentaho.platform.api.scheduler2.wrappers.DayOfWeekWrapper; | ||
import org.pentaho.platform.api.scheduler2.wrappers.MonthlyWrapper; | ||
import org.pentaho.platform.api.scheduler2.wrappers.YearlyWrapper; | ||
import org.pentaho.platform.scheduler2.recur.ITimeRecurrence; | ||
|
||
public interface IComplexJobTrigger extends IJobTrigger { | ||
static int SUNDAY = 1; | ||
|
||
long getRepeatInterval(); | ||
|
||
void setRepeatInterval( long repeatIntervalSeconds ); | ||
|
||
void addYearlyRecurrence( Integer... recurrence ); | ||
|
||
void addMonthlyRecurrence( Integer... recurrence ); | ||
|
||
void addDayOfMonthRecurrence( Integer... recurrence ); | ||
|
||
void addDayOfWeekRecurrence( ITimeRecurrence recurrence ); | ||
|
||
void addDayOfWeekRecurrence( Integer... recurrence ); | ||
|
||
void setHourlyRecurrence( Integer... recurrence ); | ||
|
||
void addMinuteRecurrence( Integer... recurrence ); | ||
|
||
void setCronString( String cronString ); | ||
|
||
DayOfMonthWrapper getDayOfMonthRecurrences(); | ||
|
||
MonthlyWrapper getMonthlyRecurrences(); | ||
|
||
YearlyWrapper getYearlyRecurrences(); | ||
|
||
DayOfWeekWrapper getDayOfWeekRecurrences(); | ||
void setMinuteRecurrence( Integer... recurrence ); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
api/src/main/java/org/pentaho/platform/api/scheduler2/IEmailGroupResolver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.pentaho.platform.api.scheduler2; | ||
|
||
import java.util.List; | ||
|
||
public interface IEmailGroupResolver { | ||
|
||
String resolve( String param ); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
api/src/main/java/org/pentaho/platform/api/scheduler2/IJobScheduleParam.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.pentaho.platform.api.scheduler2; | ||
|
||
import java.io.Serializable; | ||
import java.util.List; | ||
|
||
public interface IJobScheduleParam { | ||
String getName(); | ||
|
||
void setName( String name ); | ||
|
||
String getType(); | ||
void setType( String type ); | ||
|
||
Serializable getValue(); | ||
|
||
void setStringValue( List<String> value ); | ||
|
||
List<String> getStringValue(); | ||
} |
56 changes: 56 additions & 0 deletions
56
api/src/main/java/org/pentaho/platform/api/scheduler2/IJobScheduleRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
package org.pentaho.platform.api.scheduler2; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
public interface IJobScheduleRequest { | ||
|
||
void setJobId( String jobId ); | ||
|
||
String getJobId(); | ||
|
||
void setJobName( String jobName ); | ||
|
||
void setDuration( long duration ); | ||
|
||
void setJobState( JobState state ); | ||
|
||
void setInputFile( String inputFilePath ); | ||
|
||
void setOutputFile( String outputFilePath ); | ||
|
||
Map<String, String> getPdiParameters(); | ||
|
||
void setPdiParameters( Map<String, String> stringStringHashMap ); | ||
|
||
void setActionClass( String value ); | ||
|
||
String getActionClass(); | ||
|
||
void setTimeZone( String value ); | ||
|
||
String getTimeZone(); | ||
|
||
void setSimpleJobTrigger( ISimpleJobTrigger jobTrigger ); | ||
|
||
ISimpleJobTrigger getSimpleJobTrigger(); | ||
|
||
void setCronJobTrigger( ICronJobTrigger cron ); | ||
|
||
String getInputFile(); | ||
|
||
String getJobName(); | ||
|
||
String getOutputFile(); | ||
|
||
List<IJobScheduleParam> getJobParameters(); | ||
|
||
void setJobParameters( List<IJobScheduleParam> parameters ); | ||
|
||
long getDuration(); | ||
|
||
JobState getJobState(); | ||
|
||
ICronJobTrigger getCronJobTrigger(); | ||
} | ||
|
Oops, something went wrong.