com.carrotsearch.ant.tasks.junit4
Class PickFromListTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.carrotsearch.ant.tasks.junit4.PickFromListTask
All Implemented Interfaces:
Cloneable

public class PickFromListTask
extends org.apache.tools.ant.Task

An ANT task to pick and fix the random seed in advance (for selecting other derivative values, for example).


Nested Class Summary
static class PickFromListTask.StringValue
          Nested value element.
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
PickFromListTask()
           
 
Method Summary
 PickFromListTask.StringValue createValue()
           
 void execute()
          Execute the task.
 void setAllowUndefined(boolean allowUndefined)
           
 void setProperty(String propertyName)
           
 void setSeed(String randomSeed)
           
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PickFromListTask

public PickFromListTask()
Method Detail

setProperty

public void setProperty(String propertyName)

setAllowUndefined

public void setAllowUndefined(boolean allowUndefined)

setSeed

public void setSeed(String randomSeed)

createValue

public PickFromListTask.StringValue createValue()

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute the task.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.