org.gcube.vremanagement.resourcemanager.impl.deployment
Class DeployerReport
java.lang.Object
org.gcube.vremanagement.resourcemanager.impl.deployment.DeployerReport
public class DeployerReport
- extends java.lang.Object
Parser for the report sent by the Deployer Service
- Author:
- Manuele Simi (ISTI-CNR)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DeployerReport
public DeployerReport(java.lang.String report)
throws java.lang.Exception
- Parameters:
report
- the string representation of the report as sent by a Deployer Service
- Throws:
java.lang.Exception
getGHNID
public java.lang.String getGHNID()
- Gets the GHN ID
- Returns:
- the id
- Throws:
java.lang.Exception
- if it is impossible to parse the Deployer Report or the GHNID element is not found
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getType
public java.lang.String getType()
- Returns:
- the type
getLastUpdate
public java.util.Date getLastUpdate()
- Returns:
- the lastUpdate
getDependencies
public java.util.List<DeployedDependency> getDependencies()
- Returns:
- the dependencies
getHost
public java.lang.String getHost()
- Returns:
- the hostname from which the report was sent
getStatus
public java.lang.String getStatus()
- Returns:
- the status
getInstances
public java.util.Set<DeployerReport.DeployedRunningInstance> getInstances()
- Returns:
- the instances