33 |
|
|
34 |
|
|
35 |
/** |
/** |
36 |
* |
* This task retrieves the list of all available engines. |
37 |
* @author Grigor Iliev |
* @author Grigor Iliev |
38 |
*/ |
*/ |
39 |
public class GetEngines extends EnhancedTask<SamplerEngine[]> { |
public class GetEngines extends EnhancedTask<SamplerEngine[]> { |
40 |
|
/** Creates a new instance of <code>GetEngines</code>. */ |
41 |
public |
public |
42 |
GetEngines() { |
GetEngines() { |
43 |
setTitle("GetEngines_task"); |
setTitle("GetEngines_task"); |
44 |
setDescription(i18n.getMessage("GetEngines.description")); |
setDescription(i18n.getMessage("GetEngines.description")); |
45 |
} |
} |
46 |
|
|
47 |
|
/** The entry point of the task. */ |
48 |
public void |
public void |
49 |
run() { |
run() { |
50 |
try { setResult(CC.getClient().getEngines()); } |
try { setResult(CC.getClient().getEngines()); } |