Class MessageHandlerTask


  • public class MessageHandlerTask
    extends java.lang.Object
    Holds everything needed to execute a MessageHandler runnable. Pass an instance of this to a runnable configured with message parameters.
    • Method Detail

      • getProjectName

        public java.lang.String getProjectName()
      • getScriptCode

        public java.lang.String getScriptCode()
        Returns the user-provided Jython script code
      • getCompiledJyCode

        public org.python.core.PyCode getCompiledJyCode()
      • setCompiledJyCode

        public void setCompiledJyCode​(org.python.core.PyCode compiledJyCode)
      • isDontCompile

        public boolean isDontCompile()
        Returns true if a previous attempt to compile the code has failed
      • setDontCompile

        public void setDontCompile​(boolean dontCompile)
        Set to true if an attempt to compile the code has failed
      • isScriptsEnabled

        public boolean isScriptsEnabled()
        Returns:
        true if: ((FPMISystem.getMode() == FPMISystem.Mode.PREVIEW && !FPMISystem.isSerializing()) OR (FPMISystem.getMode() == FPMISystem.Mode.RUNTIME && FPMISystem.isLoggedIn()))
      • getLastRunErrMsg

        public java.lang.String getLastRunErrMsg()
      • setLastRunErrMsg

        public void setLastRunErrMsg​(java.lang.String lastRunErrMsg)