blob: ea05568635d42054cff33b11fe6f4200896c01fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
package com.c2kernel.gui.tabs.execution;
import javax.swing.JLabel;
import com.c2kernel.entity.agent.Job;
import com.c2kernel.gui.MainFrame;
import com.c2kernel.utils.Language;
/**************************************************************************
*
* $Revision: 1.2 $
* $Date: 2003/11/04 14:31:30 $
*
* Copyright (C) 2003 CERN - European Organization for Nuclear Research
* All rights reserved.
**************************************************************************/
public class DefaultExecutor implements Executor {
public DefaultExecutor() {
super();
}
public void execute(Job job, JLabel status) throws Exception {
status.setText(Language.translate("Requesting, please wait."));
MainFrame.userAgent.execute(job);
status.setText(Language.translate("Execution complete. Waiting for joblist update."));
}
public String toString() {
return "Normal";
}
}
|