Class DslUtils

java.lang.Object
com.structurizr.dsl.DslUtils

public class DslUtils extends Object
Utility methods to get/set DSL on a workspace.
  • Constructor Details

    • DslUtils

      public DslUtils()
  • Method Details

    • getDsl

      public static String getDsl(com.structurizr.Workspace workspace)
      Gets the DSL associated with a workspace.
      Parameters:
      workspace - a Workspace object
      Returns:
      a DSL string
    • setDsl

      public static void setDsl(com.structurizr.Workspace workspace, String dsl)
      Sets the DSL associated with a workspace.
      Parameters:
      workspace - a Workspace object
      dsl - the DSL string