Class GeoportalExporterAPI
- java.lang.Object
-
- org.gcube.portlets.user.uriresolvermanager.geoportal.GeoportalExporterAPI
-
public class GeoportalExporterAPI extends Object
The Class GeoportalExporterAPI. The endpoints provided by GeoportalExporter service in the URI-Resolver service- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Apr 23, 2024
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_TYPEstatic org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description GeoportalExporterAPI()Instantiates a new geoportal exporter API.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLexportProject(String type, String ucdID, String projectID, boolean asURL)Export project.URLhealthcheck(String type)Healthcheck.URLviewJob(String jobCode)View job.
-
-
-
Field Detail
-
LOG
public static final org.slf4j.Logger LOG
-
DEFAULT_TYPE
public static String DEFAULT_TYPE
-
-
Method Detail
-
exportProject
public URL exportProject(String type, String ucdID, String projectID, boolean asURL) throws MalformedURLException
Export project.- Parameters:
type- the typeucdID- the ucd IDprojectID- the project IDasURL- the as URL- Returns:
- the url
- Throws:
MalformedURLException- the malformed URL exception
-
viewJob
public URL viewJob(String jobCode) throws MalformedURLException
View job.- Parameters:
jobCode- the job code- Returns:
- the url
- Throws:
MalformedURLException- the malformed URL exception
-
healthcheck
public URL healthcheck(String type) throws MalformedURLException
Healthcheck.- Parameters:
type- the type- Returns:
- the url
- Throws:
MalformedURLException- the malformed URL exception
-
-