JSampler
v0.8a

org.jsampler.task
Class InstrumentsDb.GetDrectories

java.lang.Object
  extended by 
      extended by org.jsampler.task.EnhancedTask<DbDirectoryInfo[]>
          extended by org.jsampler.task.InstrumentsDb.GetDrectories
Enclosing class:
InstrumentsDb

public static class InstrumentsDb.GetDrectories
extends EnhancedTask<DbDirectoryInfo[]>

This task retrieves the list of directories in the specified directory.


Constructor Summary
InstrumentsDb.GetDrectories(java.lang.String dir)
          Creates a new instance of GetDrectories.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Used to decrease the traffic.
 java.lang.String getDirectory()
           
 void run()
          The entry point of the task.
 
Methods inherited from class org.jsampler.task.EnhancedTask
isStopped, setErrorDetails, stop
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentsDb.GetDrectories

public InstrumentsDb.GetDrectories(java.lang.String dir)
Creates a new instance of GetDrectories.

Parameters:
dir - The absolute path name of the directory.
Method Detail

run

public void run()
The entry point of the task.


getDirectory

public java.lang.String getDirectory()

equals

public boolean equals(java.lang.Object obj)
Used to decrease the traffic. All task in the queue equal to this are removed.


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.