Package nz.org.riskscape.cpython
Interface CPythonProblems
- All Superinterfaces:
nz.org.riskscape.engine.problem.ProblemFactory
public interface CPythonProblems
extends nz.org.riskscape.engine.problem.ProblemFactory
-
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.problem.ProblembadBridgeScript(Path resolvedBridgePath) nz.org.riskscape.problem.ProblemfailedToLoadScript(Object context) nz.org.riskscape.problem.ProblemfailedToReadResult(nz.org.riskscape.engine.resource.Resource pythonScript, String errorText) nz.org.riskscape.problem.ProblemfailedToStartPlugin(String details) nz.org.riskscape.problem.ProblemfailedToStartScript(Object context, String errorText) A problem was encountered trying to launch the user's python script.nz.org.riskscape.problem.ProblemfunctionCallException(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 scriptnz.org.riskscape.problem.ProblemfunctionOutput(nz.org.riskscape.engine.resource.Resource pythonScript, String text) Some output came from either stdout or stderrstatic CPythonProblemsget()nz.org.riskscape.problem.ProblemmissingOutput(URI pythonScript, Path path) ApythonScriptregistered a model output, but thepathdoesn't exist.nz.org.riskscape.problem.ProblemnoOutput()
-
Method Details
-
get
-
badBridgeScript
-
failedToStartPlugin
-
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
A problem was encountered trying to launch the user's python script.
-
functionCallException
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
-
missingOutput
A
pythonScriptregistered a model output, but thepathdoesn't exist. -
failedToReadResult
nz.org.riskscape.problem.Problem failedToReadResult(nz.org.riskscape.engine.resource.Resource pythonScript, String errorText) -
noOutput
nz.org.riskscape.problem.Problem noOutput()
-