Package nz.org.riskscape.postgis
Interface PostGISProblems
- All Superinterfaces:
nz.org.riskscape.engine.problem.ProblemFactory
public interface PostGISProblems
extends nz.org.riskscape.engine.problem.ProblemFactory
PostGIS related problems.
-
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.problem.ProblemconnectionFailure(URI location, String failureReason) A connection failure problemnz.org.riskscape.problem.Problemnz.org.riskscape.problem.Problemnz.org.riskscape.problem.Problemnz.org.riskscape.problem.ProblemWhen spatial data is being written but the target database does not have the postgis extension enabled.static PostGISProblemsget()nz.org.riskscape.problem.ProblemignoredFromLocation(String ignored, String from) The location contained excess parts that will be ignored.nz.org.riskscape.problem.ProbleminvalidLocation(URI location) nz.org.riskscape.problem.ProblemA password was found in clear text, either in the location or a bookmark parameter.
-
Method Details
-
invalidLocation
-
connectionFailure
A connection failure problem
- Parameters:
location- the PostGIS location that failed to connectfailureReason- the reason for the failure
-
connectionTipSpelling
nz.org.riskscape.problem.Problem connectionTipSpelling()- Returns:
- a tip for use with
connectionFailure(java.net.URI, java.lang.String)
-
connectionTipPassword
nz.org.riskscape.problem.Problem connectionTipPassword()- Returns:
- a tip for use with
connectionFailure(java.net.URI, java.lang.String)
-
connectionTipConnectivity
nz.org.riskscape.problem.Problem connectionTipConnectivity()- Returns:
- a tip for use with
connectionFailure(java.net.URI, java.lang.String)
-
databaseNotSpatial
nz.org.riskscape.problem.Problem databaseNotSpatial()When spatial data is being written but the target database does not have the postgis extension enabled.
-
passwordInClearText
nz.org.riskscape.problem.Problem passwordInClearText()A password was found in clear text, either in the location or a bookmark parameter.
This is insecure, user should put the password in the PGPASSWORD environment variable.
-
ignoredFromLocation
The location contained excess parts that will be ignored.
- Parameters:
ignored- the part of the URI that is being ignoredfrom- identifies what part of the URI ignored is from, eg, query, fragment etc
-
get
-