public class QueryDeploymentInformation extends Object
| Constructor and Description |
|---|
QueryDeploymentInformation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkDeploymentInfo(QueryInformationSystem isClient)
Check the deployment report
|
boolean |
checkSoftwareDeployment(ArrayList<String> files)
Check if all Files belonging to a Software package have been correctly deployed
|
boolean |
checkUnDeploymentInfo(QueryInformationSystem isClient)
Check the undeployment report
|
String |
getDependenciesResolutionStatus()
Get the Dependency resolution element as string
|
boolean |
getDeploymentActivityStatus()
Get the Dependency resolution element as string
|
ArrayList<String> |
getFileList(org.gcube.common.core.resources.service.Package service)
Get a Software File list
|
org.gcube.common.core.resources.service.Package |
getPackage(org.gcube.common.core.resources.GCUBEService service,
String packageName)
Get a Package given the GCUBEService profile and the package name
|
void |
parseXml(String xml)
Create a dom of the Deployment report string
|
void |
parseXmlFile(String file)
Create a dom of the Deployment report file
|
void |
writeFile(String status)
Write deployment information on a file
|
void |
writeVREFile(String status)
Write the status of the VRE creation on a file
|
public void parseXmlFile(String file)
file - the Deployment report filepublic void parseXml(String xml)
file - the Deployment report stringpublic String getDependenciesResolutionStatus()
public boolean getDeploymentActivityStatus()
public org.gcube.common.core.resources.service.Package getPackage(org.gcube.common.core.resources.GCUBEService service,
String packageName)
service - the GCUBEService profilepackageName - the package namepublic ArrayList<String> getFileList(org.gcube.common.core.resources.service.Package service)
service - the Software Packagepublic void writeFile(String status)
status - the deployment status to logpublic void writeVREFile(String status)
status - the VRE Creation statuspublic boolean checkDeploymentInfo(QueryInformationSystem isClient) throws Exception
depResolution - the Dependency resolution fileisClient - an instance of a QueryInformationSystemExceptionpublic boolean checkUnDeploymentInfo(QueryInformationSystem isClient)
isClient - an instance of a QueryInformationSystemCopyright © 2012. All Rights Reserved.