public class Workunit extends DataSingleton
| Modifier and Type | Class and Description |
|---|---|
static class |
Workunit.Notification |
| Modifier and Type | Field and Description |
|---|---|
static DataSingletonCollection |
All |
| Modifier and Type | Method and Description |
|---|---|
void |
_clone()
Clone.
|
void |
abort()
Abort.
|
void |
delete()
Delete.
|
boolean |
equals(Object aThat) |
protected void |
fastRefresh() |
protected void |
fullRefresh() |
static Workunit |
get(Platform platform,
String wuid)
Gets the.
|
String |
getApplicationValue(String key)
Gets the application value.
|
Object |
getClusterName()
Gets the cluster name.
|
GregorianCalendar |
getDate()
Gets the date.
|
Graph[] |
getGraphs()
Gets the graphs.
|
String |
getJobname()
Gets the jobname.
|
String |
getOwner()
Gets the owner.
|
Platform |
getPlatform()
Gets the platform.
|
String |
getQueryText()
Gets the query text.
|
Result |
getResult(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.ECLResult r)
Gets the result.
|
Result |
getResult(Integer sequence)
Gets the result.
|
Result[] |
getResults()
Gets the results.
|
String[] |
getResultViews()
Gets the result views.
|
LogicalFile[] |
getSourceFiles()
Gets the source files.
|
String |
getState()
Gets the state.
|
WUState |
getStateID()
Gets the state ID.
|
String |
getWuid()
Gets the wuid.
|
boolean |
hasApplicationValue(String key)
Checks for application value.
|
int |
hashCode() |
boolean |
isComplete() |
static boolean |
isFailedState(String state)
Checks if is failed state.
|
void |
publish()
Publish.
|
void |
refreshState()
Refresh state.
|
void |
restart()
Restart.
|
void |
resubmit()
Resubmit.
|
void |
resubmit(boolean restart,
boolean clone)
Resubmit.
|
static WUState |
translateWUState(String state)
Translate WU state.
|
boolean |
update(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.ECLWorkunit wu)
Update.
|
monitoraddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic static DataSingletonCollection All
public static Workunit get(Platform platform, String wuid)
platform - the platformwuid - the wuidpublic Platform getPlatform()
public String getWuid()
public String getQueryText()
public Object getClusterName()
public WUState getStateID()
public static boolean isFailedState(String state)
state - the statepublic static WUState translateWUState(String state)
state - the statepublic String getState()
public GregorianCalendar getDate()
public String[] getResultViews()
public boolean hasApplicationValue(String key)
key - the keypublic String getApplicationValue(String key)
key - the keypublic Result getResult(Integer sequence)
sequence - the sequencepublic Result getResult(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.ECLResult r)
r - the rpublic Result[] getResults()
public Graph[] getGraphs()
public LogicalFile[] getSourceFiles()
public boolean isComplete()
isComplete in class DataSingletonpublic String getJobname()
public String getOwner()
public void abort()
public void delete()
public void resubmit(boolean restart,
boolean clone)
restart - the restartclone - the clonepublic void resubmit()
public void restart()
public void _clone()
public void publish()
public void refreshState()
protected void fastRefresh()
fastRefresh in class DataSingletonprotected void fullRefresh()
fullRefresh in class DataSingletonpublic boolean update(org.hpccsystems.ws.client.gen.axis2.wsworkunits.v1_81.ECLWorkunit wu)
wu - the wupublic boolean equals(Object aThat)
equals in class DataSingletonpublic int hashCode()
hashCode in class DataSingletonCopyright © 2021. All rights reserved.