org.jenkinsci.plugins.parallel_test_executor
Class CountDrivenParallelism

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<Parallelism>
      extended by org.jenkinsci.plugins.parallel_test_executor.Parallelism
          extended by org.jenkinsci.plugins.parallel_test_executor.CountDrivenParallelism
All Implemented Interfaces:
hudson.model.Describable<Parallelism>

public class CountDrivenParallelism
extends Parallelism

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class CountDrivenParallelism.DescriptorImpl
           
 
Field Summary
 int size
           
 
Constructor Summary
CountDrivenParallelism(int size)
           
 
Method Summary
 int calculate(List<TestClass> tests)
           
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

public int size
Constructor Detail

CountDrivenParallelism

@DataBoundConstructor
public CountDrivenParallelism(int size)
Method Detail

calculate

public int calculate(List<TestClass> tests)
Specified by:
calculate in class Parallelism


Copyright © 2004-2013. All Rights Reserved.