JSampler
v0.8a

org.jsampler.task
Class InstrumentsDb.GetInstruments

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

public static class InstrumentsDb.GetInstruments
extends EnhancedTask<DbInstrumentInfo[]>

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


Constructor Summary
InstrumentsDb.GetInstruments(java.lang.String dir)
          Creates a new instance of GetInstruments.
 
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.GetInstruments

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

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.