Class EvaluableScriptFactoryBean

    • Field Detail

      • log

        private final org.slf4j.Logger log
        log.
      • resource

        private Resource resource
        The resource which locates the script.
      • script

        private String script
        The script.
      • engineName

        private String engineName
        The JSR223 engine name.
      • sourceId

        private String sourceId
        The source Id.
    • Constructor Detail

      • EvaluableScriptFactoryBean

        public EvaluableScriptFactoryBean()
    • Method Detail

      • getResource

        public Resource getResource()
        Get the resource which locates the script.
        Returns:
        Returns the resource.
      • setResource

        public void setResource​(Resource what)
        Set the resource which locates the script.
        Parameters:
        what - the resource to set.
      • getScript

        public String getScript()
        Get the script.
        Returns:
        Returns the script as text.
      • setScript

        public void setScript​(String what)
        Set the script.
        Parameters:
        what - the script to set.
      • getSourceId

        public String getSourceId()
        Get the source ID.
        Returns:
        Returns the sourceID.
      • setSourceId

        public void setSourceId​(String what)
        Set the source Id.
        Parameters:
        what - the Id to set.
      • getEngineName

        public String getEngineName()
        Get the engine Name.
        Returns:
        Returns the engine name.
      • setEngineName

        public void setEngineName​(String what)
        Set the engine name.
        Parameters:
        what - the engine name to set.