Examples of Task


Examples of org.wso2.carbon.throttling.manager.tasks.Task

        String configFile = CarbonUtils.getCarbonConfigDirPath() + "/throttling-config1.xml";
        String ruleFile = CarbonUtils.getCarbonConfigDirPath() + "/throttling-rules1.drl";
        // the configuration init will initialize task objects.
        //ThrottlingConfiguration ignore = new ThrottlingConfiguration(configFile);
        Task task = getThrottlingTask(configFile, ruleFile);

        Resource r1 = registry.newResource();
        r1.setContent("12345678");   // 8 byte is ok
        registry.put("/bang", r1);
View Full Code Here

Examples of org.xmatthew.spy2servers.thread.Task

    private void startComponent(Component component) {
        Assert.notNull(component, "component is null");
        String componentName = ComponentUtils.getComponentName(component);
        try {
            Task task = new ComponentInvokeTask(component);
            Date startupDate = new Date();
            component.setStartupDate(startupDate);
            TaskRunner taskRunner = new DedicatedTaskRunner(task, componentName);
            LOGGER.info("plug component " + componentName);
            tasks.add(taskRunner);
View Full Code Here

Examples of org.xtext.builddsl.build.Task

        }
      };
      final Integer last = IterableExtensions.<Integer>findFirst(_upTo_1, _function_1);
      ILeafNode _get = list.get((first).intValue());
      EObject _semanticElement = _get.getSemanticElement();
      final Task task1 = EcoreUtil2.<Task>getContainerOfType(_semanticElement, Task.class);
      ILeafNode _get_1 = list.get((last).intValue());
      EObject _semanticElement_1 = _get_1.getSemanticElement();
      final Task task2 = EcoreUtil2.<Task>getContainerOfType(_semanticElement_1, Task.class);
      boolean _equals = Objects.equal(task1, task2);
      if (_equals) {
        return task1.getName();
      }
    } else {
      EObject _semanticElement_2 = start.getSemanticElement();
      Task _containerOfType = EcoreUtil2.<Task>getContainerOfType(_semanticElement_2, Task.class);
      return _containerOfType.getName();
    }
    return null;
  }
View Full Code Here

Examples of org.zkoss.ganttz.data.Task

                    toAdd, false);
        }
    }

    public void addTasks(Position position, Collection<? extends Task> newTasks) {
        Task root = tasksTreeModel.getRoot();
        if (position.isAppendToTop()) {
            fillModel(root, tasksTreeModel.getChildCount(root), newTasks, false);
        } else if (position.isAtTop()) {
            fillModel(root,
                    position.getInsertionPosition(), newTasks, false);
View Full Code Here

Examples of pku.cbi.abcgrid.master.Task

     * on Master's task queue. A broken connection may leads to RemoteException. 
     * */
    public static Task getTask(String service)
            throws RemoteException
    {
        Task task;
        while (true)
        {
            try
            {
                Status.set("idle");
View Full Code Here

Examples of pl.edu.pb.entities.Task

    UserTasksManagerMock mock;

    public BucketManagerMock() {
        count = 0;
        bucketTask = new ArrayList<Task>();
        Task t = new Task();
        t.setName("Misja Dawida");
        t.setDescription("Informacje tajne");
        t.setComplete(false);
        t.setId((long) count++);
        bucketTask.add(t);
        Task t2 = new Task();
        t2.setName("Misja Dawida2");
        t2.setDescription("Informacje tajne2");
        t2.setComplete(false);
        t2.setId((long) count++);
        bucketTask.add(t2);
       
        bucketTask.add(t2);
        bucketTask.add(t2);
View Full Code Here

Examples of psconsole.TaskManager.Task

            return;
        }
        //</editor-fold>
       
        // -- заполняем объект задачи
        Task task = new Task(numsys.geterateID());
        for (int i = 0; i < taskOTM.count(); ++i) {
            TaskOrder o = taskOTM.getOrder(i);
            task.orderList.add(o);
        }
        task.name = txtTaskName.getText();
View Full Code Here

Examples of pt.treps.parser.Task

      this.typeLabel.setText("(projecto)");
    }

    if (shortHandCompletion.getItem().getObject() instanceof Task) {
      Task task = (Task) shortHandCompletion.getItem().getObject();

      String htmlString = task.getLabel();
      for (String matched : shortHandCompletion.getItem().getMatchedExpressions()) {
        //        System.out.println(matched);

        htmlString = StringUtil.replaceFirst(htmlString, matched, "<b>" + matched + "</b>");
      }
View Full Code Here

Examples of sample.domain.Task

import sample.domain.Task;

public class TableModel extends ObjectTableModel<Task> {

  public Task newObject() {
    return new Task();
  }
View Full Code Here

Examples of sbt.testing.Task

    }
    return tasks;
  }

  private Task createTask(final TaskDef taskDef) {
    return new Task() {
      @Override
      public String[] tags() {
        return new String[0]// no tags yet
      }
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.