Class FileSprayWorkunit
- java.lang.Object
-
- java.util.Observable
-
- org.hpccsystems.ws.client.utils.DataSingleton
-
- org.hpccsystems.ws.client.platform.FileSprayWorkunit
-
public class FileSprayWorkunit extends DataSingleton
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileSprayWorkunit.Notification
-
Field Summary
Fields Modifier and Type Field Description static DataSingletonCollectionAll
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object aThat)protected voidfastRefresh()protected voidfullRefresh()static FileSprayWorkunitget(Platform platform, String wuid)Gets the.ObjectgetClusterName()Gets the cluster name.StringgetFilePath()Gets the file path.StringgetID()Gets the id.LogicalFilegetLogicalFile()Gets the logical file.PlatformgetPlatform()Gets the platform.WUStategetStateID()Gets the state ID.inthashCode()booleanisComplete()booleanisDespray()Checks if is despray.voidrefreshState()Refresh state.booleanupdate(org.hpccsystems.ws.client.wrappers.gen.filespray.DFUWorkunitWrapper dfuWorkunitWrapper)Update.-
Methods inherited from class org.hpccsystems.ws.client.utils.DataSingleton
monitor
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Field Detail
-
All
public static DataSingletonCollection All
-
-
Method Detail
-
get
public static FileSprayWorkunit get(Platform platform, String wuid)
Gets the.- Parameters:
platform- the platformwuid- the wuid- Returns:
- the file spray workunit
-
getPlatform
public Platform getPlatform()
Gets the platform.- Returns:
- the platform
-
getID
public String getID()
Gets the id.- Returns:
- the id
-
getStateID
public WUState getStateID()
Gets the state ID.- Returns:
- the state ID
-
getLogicalFile
public LogicalFile getLogicalFile()
Gets the logical file.- Returns:
- the logical file
-
getFilePath
public String getFilePath()
Gets the file path.- Returns:
- the file path
-
isDespray
public boolean isDespray()
Checks if is despray.- Returns:
- true, if is despray
-
isComplete
public boolean isComplete()
- Specified by:
isCompletein classDataSingleton
-
refreshState
public void refreshState()
Refresh state.
-
fastRefresh
protected void fastRefresh()
- Specified by:
fastRefreshin classDataSingleton
-
fullRefresh
protected void fullRefresh()
- Specified by:
fullRefreshin classDataSingleton
-
update
public boolean update(org.hpccsystems.ws.client.wrappers.gen.filespray.DFUWorkunitWrapper dfuWorkunitWrapper)
Update.- Parameters:
dfuWorkunitWrapper- the dfu workunit wrapper- Returns:
- true, if successful
-
equals
public boolean equals(Object aThat)
- Specified by:
equalsin classDataSingleton
-
hashCode
public int hashCode()
- Specified by:
hashCodein classDataSingleton
-
getClusterName
public Object getClusterName()
Gets the cluster name.- Returns:
- the cluster name
-
-