JSampler
v0.8a

org.jsampler.task
Class EnhancedTask<R>

java.lang.Object
  extended by 
      extended by org.jsampler.task.EnhancedTask<R>
Direct Known Subclasses:
Audio.CreateDevice, Audio.DestroyDevice, Audio.EnableDevice, Audio.GetDriverParametersInfo, Audio.GetDrivers, Audio.SetChannelCount, Audio.SetChannelParameter, Audio.SetDeviceParameter, Audio.UpdateDeviceInfo, Audio.UpdateDevices, Channel.Add, Channel.AddFxSend, Channel.EditInstrument, Channel.GetFxSends, Channel.LoadEngine, Channel.LoadInstrument, Channel.Remove, Channel.RemoveFxSend, Channel.Reset, Channel.SetAudioOutputChannel, Channel.SetAudioOutputDevice, Channel.SetFxSendAudioOutputChannel, Channel.SetFxSendLevel, Channel.SetFxSendMidiController, Channel.SetFxSendName, Channel.SetMidiInputChannel, Channel.SetMidiInputDevice, Channel.SetMidiInputPort, Channel.SetMidiInstrumentMap, Channel.SetMute, Channel.SetSolo, Channel.SetVolume, Channel.UpdateFxSendInfo, Channel.UpdateFxSends, Channel.UpdateInfo, Connect, DuplicateChannels, GetEngines, Global.GetFileInstruments, Global.GetServerInfo, Global.GetVolume, Global.ResetSampler, Global.SetVolume, InstrumentsDb.AddInstruments, InstrumentsDb.AddInstrumentsFromFile, InstrumentsDb.AddInstrumentsNonrecursive, InstrumentsDb.Copy, InstrumentsDb.CreateDirectory, InstrumentsDb.FindDirectories, InstrumentsDb.FindInstruments, InstrumentsDb.Format, InstrumentsDb.GetDirectoryCount, InstrumentsDb.GetDrectories, InstrumentsDb.GetDrectory, InstrumentsDb.GetInstrument, InstrumentsDb.GetInstrumentCount, InstrumentsDb.GetInstruments, InstrumentsDb.GetScanJobInfo, InstrumentsDb.Move, InstrumentsDb.RemoveDirectories, InstrumentsDb.RemoveInstruments, InstrumentsDb.RenameDirectory, InstrumentsDb.RenameInstrument, InstrumentsDb.SetDirectoryDescription, InstrumentsDb.SetInstrumentDescription, LSConsoleConnect, Midi.AddInstrumentMap, Midi.CreateDevice, Midi.DestroyDevice, Midi.EnableDevice, Midi.GetDriverParametersInfo, Midi.GetDrivers, Midi.GetInstrumentMaps, Midi.MapInstrument, Midi.RemoveInstrumentMap, Midi.SetDeviceParameter, Midi.SetInstrumentMapInfo, Midi.SetPortCount, Midi.SetPortParameter, Midi.UnmapInstrument, Midi.UpdateDeviceInfo, Midi.UpdateDevices, Midi.UpdateInstrumentInfo, Midi.UpdateInstrumentMapInfo, Midi.UpdateInstrumentMaps, Midi.UpdateInstruments, SetServerAddress, UpdateChannels, UpdateTotalVoiceCount

public abstract class EnhancedTask<R>
extends

This class extends AbstractTask to add new features.


Constructor Summary
EnhancedTask()
           
 
Method Summary
 boolean isStopped()
          Determines whether the execution of this task was interrupted.
 void setErrorDetails(java.lang.Exception e)
          Sets the error details provided by the given exception (if the given exception is LSException instance and contains error details).
 void stop()
          Marks that the execution of this task was interrupted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnhancedTask

public EnhancedTask()
Method Detail

stop

public void stop()
Marks that the execution of this task was interrupted.


isStopped

public boolean isStopped()
Determines whether the execution of this task was interrupted.

Returns:
true if the execution of this task was interrupted, false otherwise.

setErrorDetails

public void setErrorDetails(java.lang.Exception e)
Sets the error details provided by the given exception (if the given exception is LSException instance and contains error details).


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.