Class WPSClient
- java.lang.Object
-
- org.gcube.dataanalysis.geo.wps.client.WPSClient
-
public class WPSClient extends Object
-
-
Field Summary
Fields Modifier and Type Field Description floatwpsstatus
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddBoundingBoxInput(org.n52.wps.client.ExecuteRequestBuilder executeBuilder, String identifier, String BBstring)static intcalculateBBDimensions(String bbstring)voiddescribeProcess(String processID)voiddescribeProcess(String processID, URL processDescriptionURL)net.opengis.wps.x100.ExecuteResponseDocument.ExecuteResponse.ProcessOutputsexecuteProcess(org.n52.wps.client.ExecuteRequestBuilder executeBuilder, net.opengis.wps.x100.ProcessDescriptionType processDescription)net.opengis.wps.x100.InputDescriptionType[]getCurrentInputs()List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType>getCurrentInputStatisticalTypes()net.opengis.wps.x100.OutputDescriptionType[]getCurrentOutputs()LinkedHashMap<String,org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType>getCurrentOutputStatisticalTypes()StringgetCurrentProcessAbstract()StringgetCurrentProcessID()StringgetCurrentProcessTitle()static StringgetExceptionText(String exceptionText)net.opengis.wps.x100.ProcessDescriptionTypegetProcessDescription()net.opengis.wps.x100.ProcessBriefType[]getProcessesList()StringgetWpsServiceURL()static voidmain(String[] args)static voidmain1(String[] args)voidrequestGetCapabilities()static List<String>retrieveURLsFromWPSResponse(net.opengis.wps.x100.ComplexDataType cdt)voidsetCurrentInputs(net.opengis.wps.x100.InputDescriptionType[] currentInputs)voidsetCurrentInputStatisticalTypes(List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> currentStatisticalTypes)voidsetCurrentOutputs(net.opengis.wps.x100.OutputDescriptionType[] currentOutputs)voidsetCurrentOutputStatisticalTypes(LinkedHashMap<String,org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> currentOutputStatisticalTypes)voidsetCurrentProcessAbstract(String currentProcessAbstract)voidsetCurrentProcessID(String currentProcessID)voidsetCurrentProcessTitle(String currentProcessTitle)voidsetProcessDescription(net.opengis.wps.x100.ProcessDescriptionType processDescription)voidsetProcessesList(net.opengis.wps.x100.ProcessBriefType[] processesList)voidsetWpsServiceURL(String wpsServiceURL)
-
-
-
Method Detail
-
getCurrentOutputs
public net.opengis.wps.x100.OutputDescriptionType[] getCurrentOutputs()
-
setCurrentOutputs
public void setCurrentOutputs(net.opengis.wps.x100.OutputDescriptionType[] currentOutputs)
-
getCurrentOutputStatisticalTypes
public LinkedHashMap<String,org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getCurrentOutputStatisticalTypes()
-
setCurrentOutputStatisticalTypes
public void setCurrentOutputStatisticalTypes(LinkedHashMap<String,org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> currentOutputStatisticalTypes)
-
getWpsServiceURL
public String getWpsServiceURL()
-
setWpsServiceURL
public void setWpsServiceURL(String wpsServiceURL)
-
getCurrentInputs
public net.opengis.wps.x100.InputDescriptionType[] getCurrentInputs()
-
setCurrentInputs
public void setCurrentInputs(net.opengis.wps.x100.InputDescriptionType[] currentInputs)
-
getCurrentInputStatisticalTypes
public List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getCurrentInputStatisticalTypes()
-
setCurrentInputStatisticalTypes
public void setCurrentInputStatisticalTypes(List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> currentStatisticalTypes)
-
getCurrentProcessID
public String getCurrentProcessID()
-
setCurrentProcessID
public void setCurrentProcessID(String currentProcessID)
-
getCurrentProcessTitle
public String getCurrentProcessTitle()
-
setCurrentProcessTitle
public void setCurrentProcessTitle(String currentProcessTitle)
-
getCurrentProcessAbstract
public String getCurrentProcessAbstract()
-
setCurrentProcessAbstract
public void setCurrentProcessAbstract(String currentProcessAbstract)
-
describeProcess
public void describeProcess(String processID, URL processDescriptionURL) throws Exception
- Throws:
Exception
-
getProcessesList
public net.opengis.wps.x100.ProcessBriefType[] getProcessesList()
-
setProcessesList
public void setProcessesList(net.opengis.wps.x100.ProcessBriefType[] processesList)
-
getProcessDescription
public net.opengis.wps.x100.ProcessDescriptionType getProcessDescription()
-
setProcessDescription
public void setProcessDescription(net.opengis.wps.x100.ProcessDescriptionType processDescription)
-
executeProcess
public net.opengis.wps.x100.ExecuteResponseDocument.ExecuteResponse.ProcessOutputs executeProcess(org.n52.wps.client.ExecuteRequestBuilder executeBuilder, net.opengis.wps.x100.ProcessDescriptionType processDescription) throws Exception- Throws:
Exception
-
calculateBBDimensions
public static int calculateBBDimensions(String bbstring)
-
addBoundingBoxInput
public static void addBoundingBoxInput(org.n52.wps.client.ExecuteRequestBuilder executeBuilder, String identifier, String BBstring)
-
retrieveURLsFromWPSResponse
public static List<String> retrieveURLsFromWPSResponse(net.opengis.wps.x100.ComplexDataType cdt)
-
main
public static void main(String[] args)
-
-