diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.app/osgi/org/osgi/service/application/ScheduledApplication.java')
-rw-r--r-- | bundles/org.eclipse.equinox.app/osgi/org/osgi/service/application/ScheduledApplication.java | 142 |
1 files changed, 71 insertions, 71 deletions
diff --git a/bundles/org.eclipse.equinox.app/osgi/org/osgi/service/application/ScheduledApplication.java b/bundles/org.eclipse.equinox.app/osgi/org/osgi/service/application/ScheduledApplication.java index f3385ad4c..4e7a9605b 100644 --- a/bundles/org.eclipse.equinox.app/osgi/org/osgi/service/application/ScheduledApplication.java +++ b/bundles/org.eclipse.equinox.app/osgi/org/osgi/service/application/ScheduledApplication.java @@ -35,77 +35,77 @@ import java.util.Map; * @version $Id$ */ public interface ScheduledApplication { - - /** - * The property key for the identifier of the application being scheduled. - */ - public static final String APPLICATION_PID = ApplicationDescriptor.APPLICATION_PID; - - /** - * The property key for the schedule identifier. The identifier is unique - * within the scope of the application being scheduled. - */ - public static final String SCHEDULE_ID = "schedule.id"; - - /** - * The key for the startup argument used to pass the event object that - * triggered the schedule to launch the application instance. - * The event is passed in a {@link java.security.GuardedObject} - * protected by the corresponding - * {@link org.osgi.service.event.TopicPermission}. - */ - public static final String TRIGGERING_EVENT = "org.osgi.triggeringevent"; - - /** - * The topic name for the virtual timer topic. Time based schedules - * should be created using this topic. - */ - public static final String TIMER_TOPIC = "org/osgi/application/timer"; - - /** - * The name of the <i>year</i> attribute of a virtual timer event. The value is - * defined by {@link java.util.Calendar#YEAR}. - */ - public static final String YEAR = "year"; - - /** - * The name of the <i>month</i> attribute of a virtual timer event. The value is - * defined by {@link java.util.Calendar#MONTH}. - */ - public static final String MONTH = "month"; - - /** - * The name of the <i>day of month</i> attribute of a virtual timer event. The value is - * defined by {@link java.util.Calendar#DAY_OF_MONTH}. - */ - public static final String DAY_OF_MONTH = "day_of_month"; - - /** - * The name of the <i>day of week</i> attribute of a virtual timer event. The value is - * defined by {@link java.util.Calendar#DAY_OF_WEEK}. - */ - public static final String DAY_OF_WEEK = "day_of_week"; - - /** - * The name of the <i>hour of day</i> attribute of a virtual timer event. The value is - * defined by {@link java.util.Calendar#HOUR_OF_DAY}. - */ - public static final String HOUR_OF_DAY = "hour_of_day"; - - /** - * The name of the <i>minute</i> attribute of a virtual timer event. The value is - * defined by {@link java.util.Calendar#MINUTE}. - */ - public static final String MINUTE = "minute"; - - - /** - * Returns the identifier of this schedule. The identifier is unique within - * the scope of the application that the schedule is related to. - * @return the identifier of this schedule - * - */ - public String getScheduleId(); + + /** + * The property key for the identifier of the application being scheduled. + */ + public static final String APPLICATION_PID = ApplicationDescriptor.APPLICATION_PID; + + /** + * The property key for the schedule identifier. The identifier is unique + * within the scope of the application being scheduled. + */ + public static final String SCHEDULE_ID = "schedule.id"; + + /** + * The key for the startup argument used to pass the event object that + * triggered the schedule to launch the application instance. + * The event is passed in a {@link java.security.GuardedObject} + * protected by the corresponding + * {@link org.osgi.service.event.TopicPermission}. + */ + public static final String TRIGGERING_EVENT = "org.osgi.triggeringevent"; + + /** + * The topic name for the virtual timer topic. Time based schedules + * should be created using this topic. + */ + public static final String TIMER_TOPIC = "org/osgi/application/timer"; + + /** + * The name of the <i>year</i> attribute of a virtual timer event. The value is + * defined by {@link java.util.Calendar#YEAR}. + */ + public static final String YEAR = "year"; + + /** + * The name of the <i>month</i> attribute of a virtual timer event. The value is + * defined by {@link java.util.Calendar#MONTH}. + */ + public static final String MONTH = "month"; + + /** + * The name of the <i>day of month</i> attribute of a virtual timer event. The value is + * defined by {@link java.util.Calendar#DAY_OF_MONTH}. + */ + public static final String DAY_OF_MONTH = "day_of_month"; + + /** + * The name of the <i>day of week</i> attribute of a virtual timer event. The value is + * defined by {@link java.util.Calendar#DAY_OF_WEEK}. + */ + public static final String DAY_OF_WEEK = "day_of_week"; + + /** + * The name of the <i>hour of day</i> attribute of a virtual timer event. The value is + * defined by {@link java.util.Calendar#HOUR_OF_DAY}. + */ + public static final String HOUR_OF_DAY = "hour_of_day"; + + /** + * The name of the <i>minute</i> attribute of a virtual timer event. The value is + * defined by {@link java.util.Calendar#MINUTE}. + */ + public static final String MINUTE = "minute"; + + + /** + * Returns the identifier of this schedule. The identifier is unique within + * the scope of the application that the schedule is related to. + * @return the identifier of this schedule + * + */ + public String getScheduleId(); /** * Queries the topic of the triggering event. The topic may contain a |