Examples of Task


Examples of com.agiletec.plugins.jpcontentnotifier.aps.system.services.contentnotifier.scheduler.Task

    NotifierConfig config = this.getConfig();
    if (config.isActive()) {
      Date startTime = config.getStartScheduler();
      long milliSecondsDelay = config.getHoursDelay() * 3600000l; // x minuti secondi millisecondi
      startTime = this.calculateStartTime(startTime, milliSecondsDelay);
      Task task = new MailSenderTask(this);
      this._mailSenderScheduler = new Scheduler(task, startTime, milliSecondsDelay);
    }
  }
View Full Code Here

Examples of com.agiletec.plugins.jpcontentworkflow.aps.system.services.notifier.scheduler.Task

    if (notifierConfig.isActive()) {
      long milliSecondsDelay = notifierConfig.getHoursDelay() * 3600000l; // x minuti secondi millisecondi
      Date startTime = notifierConfig.getStartScheduler();

      startTime = this.calculateStartTime(startTime, milliSecondsDelay);
      Task task = new MailSenderTask(this);
      this._mailSenderScheduler = new Scheduler(task, startTime, milliSecondsDelay);
    }
  }
View Full Code Here

Examples of com.alibaba.mtc.testmodel.Task

    @Test
    public void test_MtContextRunnable_inSameThread() throws Exception {
        ConcurrentMap<String, MtContextThreadLocal<String>> mtContexts = createTestMtContexts();

        Task task = new Task("1", mtContexts);
        MtContextRunnable mtContextRunnable = MtContextRunnable.get(task);

        // create after new Task
        MtContextThreadLocal<String> after = new MtContextThreadLocal<String>();
        after.set(PARENT_AFTER_CREATE_MTC_TASK);
View Full Code Here

Examples of com.amazonaws.services.simpleworkflow.flow.core.Task

            workflowAsyncScope = new UnhandledSignalAsyncScope(workflowAsyncScope.getOutput(), workflowAsyncScope.getFailure(),
                    workflowAsyncScope.isCancelRequested());
            completed = false;
        }
        // This task is attached to the root context of the workflowAsyncScope
        new Task(workflowAsyncScope) {

            @Override
            protected void doExecute() throws Throwable {
                definition.signalRecieved(signalAttributes.getSignalName(), signalAttributes.getInput());
            }
View Full Code Here

Examples of com.arjuna.services.framework.task.Task

        final NotificationType completed = parameters;
        final AddressingProperties inboundAddressProperties
            = (AddressingProperties)ctx.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND);
        final ArjunaContext arjunaContext = ArjunaContext.getCurrentContext(ctx);

        TaskManager.getManager().queueTask(new Task() {
            public void executeTask() {
                CoordinatorCompletionCoordinatorProcessor.getProcessor().completed(completed, inboundAddressProperties, arjunaContext) ;
            }
        }) ;
    }
View Full Code Here

Examples of com.art.anette.datamodel.dataobjects.simple.Task

            return true;
        } else if (dObj instanceof WorkPackage) {
            final WorkPackage wp = (WorkPackage) dObj;
            return existsProject(wp.getProjectId()) && isAllowedToView(wp.getProject());
        } else if (dObj instanceof Task) {
            final Task t = (Task) dObj;
            return existsWorkPackage(t.getWorkPackageId()) && isAllowedToView(t.getWorkPackage());
        } else if (dObj instanceof EmployeeProjectRelation) {
            final EmployeeProjectRelation epr = (EmployeeProjectRelation) dObj;
            return existsProject(epr.getRightId()) && isAllowedToView(epr.getRight());
        } else if (dObj instanceof EmployeeWorkPackageRelation) {
            final EmployeeWorkPackageRelation ewpr = (EmployeeWorkPackageRelation) dObj;
View Full Code Here

Examples of com.badlogic.gdx.utils.Timer.Task

   * @param x Posición x
   * @param y Posición y
   */
  public void raiseItem(final int x, final int y) {
   
    Timer.schedule(new Task(){
        @Override
        public void run() {
          Item item = new Item();
        item.position.set(x, y);
        items.add(item);
View Full Code Here

Examples of com.bergerkiller.bukkit.common.Task

        }
      }
    }
    timeCalculations.put(calc.signblock, calc);
    if (updateTask == null) {
      updateTask = new Task(TrainCarts.plugin) {
        public void run() {
          if (timeCalculations.isEmpty()) {
            this.stop();
            updateTask = null;
          }
View Full Code Here

Examples of com.changestuffs.scrum.shared.domain.Task

    }

    @GET
    @Path("{id}")
    public Response fetchTask(@PathParam("id") Long id) {
        Task task = taskDao.get(id);

        return Response.ok(task).build();
    }
View Full Code Here

Examples of com.denimgroup.threadfix.data.entities.Task

            return RestResponse.failure(e.getMessage());
        }

    String secureTaskKey = this.apiKeyService.generateNewSecureRandomKey();

        Task returnTask = null;
        String errorMessage = null;

        try {
            returnTask = this.scanQueueService.requestTask(scanners, agentConfig, secureTaskKey);
            if (returnTask == null) {
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.