Class DropZone
- java.lang.Object
-
- java.util.Observable
-
- org.hpccsystems.ws.client.utils.DataSingleton
-
- org.hpccsystems.ws.client.platform.DropZone
-
public class DropZone extends DataSingleton
-
-
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 DropZoneget(Platform platform, String name)Gets the.String[]getConfiguredNetAddresses()locates and returns a string array of ips or hostnames that are defined within the dropzones environment.xml definition.StringgetDirectory()Find the Dropzone's directory.PhysicalMachine[]getMachines()Gets the machines.StringgetName()Gets the name.String[]getNetAddresses()locates and returns the real net address of a dropzone instance which is mapped from the configuredNetAddresses, which can be hostnames and dynamically assigned.StringgetOS()Get OS type of Dropzone server IF Dropzone is comprised of a single server.StringgetOS(String serveraddress)Gets the os.inthashCode()protected booleanisComplete()voidupdate(org.hpccsystems.ws.client.gen.axis2.wstopology.latest.TpDropZone dz)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 DropZone get(Platform platform, String name)
Gets the.- Parameters:
platform- the platformname- the name- Returns:
- the drop zone
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
getConfiguredNetAddresses
public String[] getConfiguredNetAddresses()
locates and returns a string array of ips or hostnames that are defined within the dropzones environment.xml definition. If these values are hostnames, they will likely be different than the getNetAddress returns, which are mapped to IP.- Returns:
- String [] of IP's or hostnames
- Since:
- 1.2.0
-
getNetAddresses
public String[] getNetAddresses()
locates and returns the real net address of a dropzone instance which is mapped from the configuredNetAddresses, which can be hostnames and dynamically assigned.- Returns:
- String [] of IP's
- Since:
- 1.2.0
-
getOS
public String getOS() throws Exception
Get OS type of Dropzone server IF Dropzone is comprised of a single server.- Returns:
- the os
- Throws:
Exception- the exception
-
getOS
public String getOS(String serveraddress) throws Exception
Gets the os.- Parameters:
serveraddress- the serveraddress- Returns:
- the os
- Throws:
Exception- the exception
-
getDirectory
public String getDirectory() throws Exception
Find the Dropzone's directory.- Returns:
- the directory
- Throws:
Exception- the exception
-
getMachines
public PhysicalMachine[] getMachines()
Gets the machines.- Returns:
- the machines
-
isComplete
protected boolean isComplete()
- Specified by:
isCompletein classDataSingleton
-
fastRefresh
protected void fastRefresh()
- Specified by:
fastRefreshin classDataSingleton
-
fullRefresh
protected void fullRefresh()
- Specified by:
fullRefreshin classDataSingleton
-
update
public void update(org.hpccsystems.ws.client.gen.axis2.wstopology.latest.TpDropZone dz)
Update.- Parameters:
dz- the dz
-
equals
public boolean equals(Object aThat)
- Specified by:
equalsin classDataSingleton
-
hashCode
public int hashCode()
- Specified by:
hashCodein classDataSingleton
-
-