Class ProjectMermaidGraphBuilder

java.lang.Object
org.odpi.openmetadata.commonservices.mermaid.MermaidGraphBuilderBase
org.odpi.openmetadata.commonservices.mermaid.ProjectMermaidGraphBuilder
Direct Known Subclasses:
ProjectGraphMermaidGraphBuilder

public class ProjectMermaidGraphBuilder extends MermaidGraphBuilderBase
ProjectMermaidGraphBuilder builds the mermaid graph for a project element.
  • Constructor Details

    • ProjectMermaidGraphBuilder

      public ProjectMermaidGraphBuilder(ProjectElement projectElement)
      Constructor does all of the work.
      Parameters:
      projectElement - element with all the data
  • Method Details

    • getProjectType

      protected String getProjectType(ElementHeader projectHeader)
      Retrieve the type of the project.
      Parameters:
      projectHeader - header of the project element.
      Returns:
      type name
    • addProjectResources

      protected void addProjectResources(ProjectElement projectElement)
      Iterate through the hierarchy.
      Parameters:
      projectElement - current level of hierarchy