Examples of TaskConfiguration


Examples of org.flexunit.ant.tasks.configuration.TaskConfiguration

  
   @Override
   public void setProject(Project project)
   {
      super.setProject(project);
      configuration = new TaskConfiguration(project);
   }
View Full Code Here

Examples of org.flexunit.ant.tasks.configuration.TaskConfiguration

  
   @Override
   public void setProject(Project project)
   {
      super.setProject(project);
      configuration = new TaskConfiguration(project);
   }
View Full Code Here

Examples of org.jamesii.core.experiments.TaskConfiguration

    repInfo.quarantine(optionIndex);

    // :REGISTRY:
    if (SimSystem.getRegistry() instanceof AlgoSelectionRegistry) {

      TaskConfiguration src = repInfo.getTaskConfig();

      // Avoid copying all observers etc., just the basics for reproducibility
      TaskConfiguration shallowCopy =
          new TaskConfiguration(src.getConfigNumber(),
              src.getModelReaderParams(), src.getParameters(),
              src.getExecParams());

      // TODO: this operation is not guaranteed to identify all components
      // that actually have been used (-> a selection tree) - this would be
View Full Code Here

Examples of org.jamesii.core.experiments.TaskConfiguration

    while (!isStopping()) {
      // the iteration of the replications happens sequentially!
      // therefore, the waiting happens after the replications all jobs have
      // been initiated.
      while (!isIdle() && !isPausing()) {
        TaskConfiguration task = getTodoList().remove(0);
        try {
          executeConfiguration(task);
        } catch (Throwable t) { // NOSONAR:{robustness_otherwise_deadlock_possible}
          SimSystem
              .report(
View Full Code Here

Examples of org.jamesii.core.experiments.TaskConfiguration

   *          the nodes
   *
   * @return the failure description
   */
  protected FailureDescription fd(SelectedFactoryNode... nodes) {
    return new FailureDescription(newTree(nodes), new TaskConfiguration(),
        new RuntimeException(ERROR_MSG));
  }
View Full Code Here

Examples of org.jamesii.core.experiments.TaskConfiguration

    SimpleSerializationTest<JamesSimDataProvider<String>> {

  @Override
  public JamesSimDataProvider<String> getTestObject() {
    IComputationTaskConfiguration simRunConfig =
        (new TaskConfiguration())
            .newComputationTaskConfiguration(new ComputationTaskIDObject(2L));
    RunInformation runInfo = new RunInformation(simRunConfig);
    runInfo.setExpID(UniqueIDGenerator.createUniqueID());
    runInfo.setDataStorageFactory(DummyDataStorageFactory.class);
    runInfo.setDataStorageParams(new ParameterBlock());
View Full Code Here

Examples of org.jamesii.core.experiments.TaskConfiguration

   * Test init simulation. As implemented for now, this will still cause an NPE
   * in another thread (so this test does not fail), since no model is
   * specified.
   */
  public void testInitComputationTask() {
    TaskConfiguration config = new TaskConfiguration();
    IInitializedComputationTask initSim = null;
    SimulationRunConfiguration srConfig =
        (SimulationRunConfiguration) config
            .newComputationTaskConfiguration(new ComputationTaskIDObject());
    initSim =
        ComputationTaskHandler.initComputationTask(srConfig, null,
            new RunInformation(srConfig), null);
    assertNotNull(initSim);
View Full Code Here

Examples of org.jamesii.core.experiments.TaskConfiguration

  /**
   * Test run simulation.
   */
  public void testRunComputationTask() {
    TaskConfiguration config = new TaskConfiguration();
    IInitializedComputationTask initSim = null;
    SimulationRunConfiguration srConfig =
        (SimulationRunConfiguration) config
            .newComputationTaskConfiguration(new ComputationTaskIDObject());
    initSim =
        ComputationTaskHandler.initComputationTask(srConfig, null,
            new RunInformation(srConfig), null);
    assertNotNull(initSim);
View Full Code Here

Examples of org.jamesii.core.experiments.TaskConfiguration

    // set the pausing flag true
    setPausing(true);
    // iterate the configurations
    Iterator<TaskConfiguration> it = getTaskConfigurationIterator();
    while (it.hasNext()) {
      TaskConfiguration config = it.next();
      // cancel each configuration
      if (getExperimentController(config) == expController) {
        cancelConfiguration(config);
      }
    }
View Full Code Here

Examples of org.jamesii.core.experiments.TaskConfiguration

        // System.out.println("Finishing a job!");

        ComputationTaskExecutionJob job = quad.getE1();
        ComputationTaskRuntimeInformation compTaskRTI = quad.getE2();
        TaskConfiguration taskConfig = quad.getE3();
        RunInformation results = quad.getE4();

        // if we have a data storage attached we will inform the storage that no
        // more data for this computation task will be written

        if (taskConfig.hasDataStorage()) {
          taskConfig.createPlainDataStorage().computationTaskDone(
              results.getComputationTaskID().getId());
        }

        // get the run information for the task configuration
        List<RunInformation> runInfo = getRunInfos().get(taskConfig);
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.