Class BoardGenerator

java.lang.Object
org.fulib.workflows.generators.BoardGenerator

public class BoardGenerator extends Object
The BoardGenerator is the main entry point for the parsing of fulibWorkflows and the generation of files.
  • Constructor Details

    • BoardGenerator

      public BoardGenerator()
  • Method Details

    • generateBoardFromFile

      public void generateBoardFromFile(Path yamlFile)
      Generates mockup and diagram files from a *.es.yaml file
      Parameters:
      yamlFile - the location of the yaml file, exp.: "src/gen/resources/example.es.yaml"
    • generateBoardFromString

      public void generateBoardFromString(String yamlContent)
      Generates mockup and diagram files from fulibWorkflows description
      Parameters:
      yamlContent - the content of a *.es.yaml file
    • generateAndReturnHTMLsFromFile

      public Map<String,String> generateAndReturnHTMLsFromFile(Path yamlFile)
      Generates and returns generated files from a *.es.yaml file
      Parameters:
      yamlFile - the location of the yaml file, exp.: "src/gen/resources/example.es.yaml"
      Returns:
      Map containing all generated file contents as value, key is a combination from a number and Board/page/diagram/fxml/classdiagram
    • generateAndReturnHTMLsFromString

      public Map<String,String> generateAndReturnHTMLsFromString(String yamlContent)
      Generates and returns generated files from fulibWorkflows description
      Parameters:
      yamlContent - the content of a *.es.yaml file
      Returns:
      Map containing all generated file contents as value, key is a combination from a number and Board/page/diagram/fxml/classdiagram
    • isWebGeneration

      public boolean isWebGeneration()
    • setWebGeneration

      public BoardGenerator setWebGeneration(boolean webGeneration)
    • getGenDir

      public String getGenDir()
    • setGenDir

      public BoardGenerator setGenDir(String genDir)
    • setStandAlone

      public BoardGenerator setStandAlone()