Examples of Schedule


Examples of com.google.enterprise.connector.scheduler.Schedule

    private final Schedule schedule;

    public RunOnceUpdater(ConnectorCoordinatorImpl coordinator,
                          int iterations) {
      super(coordinator, iterations);
      schedule = new Schedule(coordinator.getConnectorName(), false, 0, -1,
                              "0-0");
    }
View Full Code Here

Examples of com.opengamma.analytics.financial.schedule.Schedule

    if (tsStart.isAfter(returnSeriesStart)) {
      throw new OpenGammaRuntimeException("Return series start date cannot be before time-series start date");
    }
    final LocalDate returnSeriesEnd = DateConstraint.evaluate(executionContext, getReturnSeriesEnd(desiredValue.getConstraints()));
    final String scheduleCalculatorName = desiredValue.getConstraint(ValuePropertyNames.SCHEDULE_CALCULATOR);
    final Schedule scheduleCalculator = getScheduleCalculator(scheduleCalculatorName);
    final String samplingFunctionName = desiredValue.getConstraint(ValuePropertyNames.SAMPLING_FUNCTION);
    final TimeSeriesSamplingFunction samplingFunction = getSamplingFunction(samplingFunctionName);

    //REVIEW emcleod should "fromEnd" be hard-coded?
    final LocalDate[] schedule = HOLIDAY_REMOVER.getStrippedSchedule(scheduleCalculator.getSchedule(tsStart, returnSeriesEnd, true, false), WEEKEND_CALENDAR);

    final ComputedValue bundleValue = inputs.getComputedValue(ValueRequirementNames.FX_FORWARD_CURVE_HISTORICAL_TIME_SERIES);
    final HistoricalTimeSeriesBundle bundle = (HistoricalTimeSeriesBundle) bundleValue.getValue();
    final boolean includeStart = HistoricalTimeSeriesFunctionUtils.parseBoolean(bundleValue.getSpecification().getProperty(HistoricalTimeSeriesFunctionUtils.INCLUDE_START_PROPERTY));
    final FXForwardCurveDefinition fxForwardCurveDefinition = (FXForwardCurveDefinition) inputs.getValue(ValueRequirementNames.FX_FORWARD_CURVE_DEFINITION);
View Full Code Here

Examples of com.projity.pm.scheduling.Schedule

    return TimesheetHelper.getTimesheetStatusName(getTimesheetStatus());
  }

  public final long getEarliestStop() {
    long stop = Long.MAX_VALUE;
    Schedule s;
    Object nodeImpl;
    if (isWbsParent()) {
      Collection children = getWbsChildrenNodes();
      Iterator i = children.iterator();
      while (i.hasNext()) {
        Object x = i.next();
        if (!(x instanceof Node))
          continue;
        nodeImpl = ((Node)x).getImpl();
        if (! (nodeImpl  instanceof Schedule))
          continue;
        s = (Schedule)nodeImpl;
        stop = Math.min(stop,s.getEarliestStop());
      }
    } else {
      Iterator i = getAssignments().iterator();
      while (i.hasNext()) {
        Assignment ass = (Assignment)i.next();
View Full Code Here

Examples of com.psddev.cms.db.Schedule

        return null;
    }

    @Override
    protected void doService(final ToolPageContext page) throws IOException, ServletException {
        Schedule schedule = (Schedule) page.findOrReserve(Schedule.class);
        boolean newSchedule = schedule.getState().isNew();

        if (page.isFormPost()) {
            try {
                if (page.param(String.class, "action-save") != null) {
                    ToolUser toolUser = page.getUser();

                    page.include("/WEB-INF/objectPost.jsp", "object", schedule);

                    if (newSchedule) {
                        schedule.setTriggerUser(toolUser);
                        schedule.setTriggerSite(page.getSite());
                    }

                    schedule.save();

                    if (newSchedule) {
                        toolUser.setCurrentSchedule(schedule);
                        toolUser.save();
                    }

                } else if (page.param(String.class, "action-delete") != null) {
                    try {
                        schedule.beginWrites();
                        Query.from(Draft.class).where("schedule = ?", schedule).deleteAll();
                        schedule.delete();
                        schedule.commitWrites();

                    } finally {
                        schedule.endWrites();
                    }
                }

                page.writeStart("script", "type", "text/javascript");
                    page.writeRaw("window.location = window.location;");
                page.writeEnd();

                return;

            } catch (Exception error) {
                page.getErrors().add(error);
            }
        }

        page.writeStart("div", "class", "widget");
            page.writeFormHeading(schedule, "class", "icon icon-object-schedule");
            page.include("/WEB-INF/errors.jsp");

            page.writeStart("form",
                    "method", "post",
                    "action", page.url("", "id", schedule.getId()));
                page.include("/WEB-INF/objectForm.jsp", "object", schedule);

                page.writeStart("div", "class", "actions");
                    page.writeStart("button",
                            "class", "icon icon-action-save",
View Full Code Here

Examples of de.iritgo.aktera.scheduler.entity.Schedule

  public void deletePersistent(ModelRequest request, ModelResponse response, Object id, Persistent persistent,
          boolean systemDelete) throws ModelException, PersistenceException
  {
    synchronized (Schedule.class)
    {
      Schedule schedule = scheduleDAO.findScheduleById(persistent.getFieldInt("id"));

      scheduleDAO.deleteAllActionsOfSchedule(schedule);
      scheduleDAO.moveScheduleToEnd(schedule);
      super.deletePersistent(request, response, id, persistent, systemDelete);
    }
View Full Code Here

Examples of eas.users.fredy.grid.prosumer.repository.schedule.Schedule

                        p_aux.getLatestExecutionTime());

                al_p_new_schedule.add(p_appliance_rescheduled);
                RepositoryManager.updateProbabilities(new ProbabilityStorage(p_aux.getAppliance(),i_timeslot,d_PDF,d_CDF));
            }
            Schedule s_schedule = new Schedule(al_p_new_schedule, i_timeslot);
            // RepositoryManager.updateSchedule(s_schedule, i_timeslot);
            // RepositoryManager.updateHeuristics(new
            // HeuristicValue(i_timeslot,d_heuristics));

            return s_schedule;
View Full Code Here

Examples of eva.schedule.Schedule

  private void setUpParent() {
 
    VisitsChecklist visitsList = new VisitsChecklist();
    visitsList.add(new VisitWish(teacher, 1));
    Schedule schedule = new PersonSchedule(parent, visitsList, Evening.getEvening().getParentBufferSlots());
    parent.setSchedule(schedule);
  }
View Full Code Here

Examples of javax.ejb.Schedule

                final Schedules schedulesAnnotation = method.getAnnotation(Schedules.class);
                if (schedulesAnnotation != null) {
                    scheduleAnnotationList.addAll(asList(schedulesAnnotation.value()));
                }

                final Schedule scheduleAnnotation = method.getAnnotation(Schedule.class);
                if (scheduleAnnotation != null) {
                    scheduleAnnotationList.add(scheduleAnnotation);
                }

                for (final Schedule schedule : scheduleAnnotationList) {
View Full Code Here

Examples of jnode.dto.Schedule

          .getById(item.getJscript().getId()).getContent();
      if (content != null) {
        logger.l5(MessageFormat.format("execute script {0}", content));
        engine.eval(content, bindings);
        // выполнились? и иксипшена не произошло? ну вот это счастье!
        Schedule modItem = ORMManager.get(Schedule.class).getById(
            item.getId());
        modItem.setLastRunDate(new Date());
        ORMManager.get(Schedule.class).update(modItem);
      }

    }
  }
View Full Code Here

Examples of jp.co.nskint.uq.pd.signage.model.xml.Schedule

        final String blockId = "0";
        Block block = cretateBlock(blockId, lid);

        // スケジュール情報の作成
        final String scheduleId = "0";
        Schedule schedule = cretateSchedule(scheduleId, blockId);

        // タイムラインXMLモデルの作成
        TimeLineXml timelineXml = cretateTimeLineXml(tlid, name, block, schedule);

        TimeLine timeline = new TimeLine();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.