1 18 19 package org.osgi.service.application; 20 21 import java.util.Map ; 22 23 37 public interface ScheduledApplication { 38 39 42 public static final String APPLICATION_PID = ApplicationDescriptor.APPLICATION_PID; 43 44 48 public static final String SCHEDULE_ID = "schedule.id"; 49 50 57 public static final String TRIGGERING_EVENT = "org.osgi.triggeringevent"; 58 59 63 public static final String TIMER_TOPIC = "org/osgi/application/timer"; 64 65 69 public static final String YEAR = "year"; 70 71 75 public static final String MONTH = "month"; 76 77 81 public static final String DAY_OF_MONTH = "day_of_month"; 82 83 87 public static final String DAY_OF_WEEK = "day_of_week"; 88 89 93 public static final String HOUR_OF_DAY = "hour_of_day"; 94 95 99 public static final String MINUTE = "minute"; 100 101 102 108 public String getScheduleId(); 109 110 119 public String getTopic(); 120 121 129 public String getEventFilter(); 130 131 139 public boolean isRecurring(); 140 141 151 public ApplicationDescriptor getApplicationDescriptor(); 152 153 164 public Map getArguments(); 165 166 175 public void remove(); 176 } 177 | Popular Tags |