-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJob.java
More file actions
43 lines (24 loc) · 724 Bytes
/
Job.java
File metadata and controls
43 lines (24 loc) · 724 Bytes
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
34
35
36
37
38
39
40
41
42
package com.ibm.ml.ilog;
import com.ibm.json.java.JSONArray;
import com.ibm.json.java.JSONObject;
import ilog.concert.IloException;
import java.util.HashMap;
/* A simple interface to WML Jobs. */
public interface Job {
void updateStatus() throws IloException;
String getId();
JSONObject getStatus();
String getFailure();
String getState();
boolean hasSolveState();
boolean hasFailure();
boolean hasSolveStatus();
String getSolveStatus();
JSONObject getJobStatus();
boolean hasLatestEngineActivity();
String getLatestEngineActivity();
HashMap<String, Object> getKPIs();
JSONArray extractOutputData();
String getLog();
String getSolution();
}