org.jactr.tools.itr.ortho.impl
Class Slice

java.lang.Object
  extended by org.jactr.tools.itr.ortho.impl.Slice
All Implemented Interfaces:
ISlice

public class Slice
extends java.lang.Object
implements ISlice


Constructor Summary
Slice(long id, long first, long last)
           
 
Method Summary
 void addWorkingDirectory(java.lang.String relativePath)
          relative to user.dir
 long getFirstIteration()
          return the first iteration index included in this slice
 long getId()
          unique id of the slice, this is typically the slice number
 long getLastIteration()
          return the last iteration index included in this slice
 java.util.Map<java.lang.String,java.lang.Object> getParameterValues()
          the parameter values associated with the manipulated parameter names.
 java.lang.Object getProperty(java.lang.String property)
           
 java.util.Collection<java.lang.String> getWorkingDirectories()
          return the working directoryies of each run relative to user.dir
 void setProperty(java.lang.String property, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Slice

public Slice(long id,
             long first,
             long last)
Method Detail

getFirstIteration

public long getFirstIteration()
Description copied from interface: ISlice
return the first iteration index included in this slice

Specified by:
getFirstIteration in interface ISlice
Returns:

getId

public long getId()
Description copied from interface: ISlice
unique id of the slice, this is typically the slice number

Specified by:
getId in interface ISlice
Returns:

getLastIteration

public long getLastIteration()
Description copied from interface: ISlice
return the last iteration index included in this slice

Specified by:
getLastIteration in interface ISlice
Returns:

getParameterValues

public java.util.Map<java.lang.String,java.lang.Object> getParameterValues()
Description copied from interface: ISlice
the parameter values associated with the manipulated parameter names. The values in the map are typically just strings

Specified by:
getParameterValues in interface ISlice
Returns:

getProperty

public java.lang.Object getProperty(java.lang.String property)
Specified by:
getProperty in interface ISlice

getWorkingDirectories

public java.util.Collection<java.lang.String> getWorkingDirectories()
Description copied from interface: ISlice
return the working directoryies of each run relative to user.dir

Specified by:
getWorkingDirectories in interface ISlice
Returns:

addWorkingDirectory

public void addWorkingDirectory(java.lang.String relativePath)
relative to user.dir

Parameters:
relativePath -

setProperty

public void setProperty(java.lang.String property,
                        java.lang.Object value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object