Class AbstractScript.Builder<T extends AbstractScript.Builder<T>>

    • Method Detail

      • content

        public T content​(String content)
        Set the content of the script (i.e. the implementation).
        Parameters:
        content - script content
        Returns:
        this for fluent programming
      • content

        public T content​(Path path)
                  throws IOException
        Load the script content from a file.
        Parameters:
        path - path to file containing the script content
        Returns:
        this for fluent programming
        Throws:
        IOException - in case the file could not be read
      • getSelf

        protected abstract T getSelf()
        Get this.
        Returns:
        self