Class YAMLConfigurationLoader.Builder

    • Constructor Detail

    • Method Detail

      • getIndent

        public int getIndent()
        Gets the level of indentation to be used by the resultant loader.
        Returns:
        The indent level
      • setFlowStyle

        public @NonNull YAMLConfigurationLoader.Builder setFlowStyle​(@NonNull org.yaml.snakeyaml.DumperOptions.FlowStyle style)
        Sets the flow style the resultant loader should use. Flow: the compact, json-like representation.
        Example: {value: [list, of, elements], another: value} Block: expanded, traditional YAML
        Example: value: - list - of - elements another: value
        Parameters:
        style - The flow style to use
        Returns:
        This builder (for chaining)
      • getFlowSyle

        public @NonNull org.yaml.snakeyaml.DumperOptions.FlowStyle getFlowSyle()
        Gets the flow style to be used by the resultant loader.
        Returns:
        The flow style