Package org.fulib.workflows.generators
Class BoardGenerator
java.lang.Object
org.fulib.workflows.generators.BoardGenerator
The BoardGenerator is the main entry point for the parsing of fulibWorkflows and the generation of files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateAndReturnHTMLsFromFile(Path yamlFile) Generates and returns generated files from a *.es.yaml filegenerateAndReturnHTMLsFromString(String yamlContent) Generates and returns generated files from fulibWorkflows descriptionvoidgenerateBoardFromFile(Path yamlFile) Generates mockup and diagram files from a *.es.yaml filevoidgenerateBoardFromString(String yamlContent) Generates mockup and diagram files from fulibWorkflows descriptionbooleansetWebGeneration(boolean webGeneration)
-
Constructor Details
-
BoardGenerator
public BoardGenerator()
-
-
Method Details
-
generateBoardFromFile
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
Generates mockup and diagram files from fulibWorkflows description- Parameters:
yamlContent- the content of a *.es.yaml file
-
generateAndReturnHTMLsFromFile
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
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
-
getGenDir
-
setGenDir
-