Interface CPythonProblems

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

public interface CPythonProblems extends nz.org.riskscape.engine.problem.ProblemFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    nz.org.riskscape.problem.Problem
    badBridgeScript(Path resolvedBridgePath)
     
    nz.org.riskscape.problem.Problem
     
    nz.org.riskscape.problem.Problem
     
    nz.org.riskscape.problem.Problem
    failedToStartScript(Object context, String errorText)
    A problem was encountered trying to launch the user's python script.
    nz.org.riskscape.problem.Problem
    functionCallException(String pythonErrorText)
    A problem was encounter while running the user script's function - this is very likely to be a problem with the user's script
    nz.org.riskscape.problem.Problem
    functionOutput(nz.org.riskscape.engine.resource.Resource pythonScript, String text)
    Some output came from either stdout or stderr
    get()
     
  • Method Details

    • get

      static CPythonProblems get()
    • badBridgeScript

      nz.org.riskscape.problem.Problem badBridgeScript(Path resolvedBridgePath)
    • failedToStartPlugin

      nz.org.riskscape.problem.Problem failedToStartPlugin(String details)
    • functionOutput

      nz.org.riskscape.problem.Problem functionOutput(nz.org.riskscape.engine.resource.Resource pythonScript, String text)

      Some output came from either stdout or stderr

    • failedToStartScript

      nz.org.riskscape.problem.Problem failedToStartScript(Object context, String errorText)

      A problem was encountered trying to launch the user's python script.

    • functionCallException

      nz.org.riskscape.problem.Problem functionCallException(String pythonErrorText)

      A problem was encounter while running the user script's function - this is very likely to be a problem with the user's script

    • failedToLoadScript

      nz.org.riskscape.problem.Problem failedToLoadScript(Object context)