Interface PostGISProblems

All Superinterfaces:
nz.org.riskscape.engine.problem.ProblemFactory

public interface PostGISProblems extends nz.org.riskscape.engine.problem.ProblemFactory

PostGIS related problems.

  • Method Details

    • invalidLocation

      nz.org.riskscape.problem.Problem invalidLocation(URI location)
    • connectionFailure

      nz.org.riskscape.problem.Problem connectionFailure(URI location, String failureReason)

      A connection failure problem

      Parameters:
      location - the PostGIS location that failed to connect
      failureReason - 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

      nz.org.riskscape.problem.Problem ignoredFromLocation(String ignored, String from)

      The location contained excess parts that will be ignored.

      Parameters:
      ignored - the part of the URI that is being ignored
      from - identifies what part of the URI ignored is from, eg, query, fragment etc
    • get

      static PostGISProblems get()