Class AbstractConfigurationModel

    • Constructor Detail

      • AbstractConfigurationModel

        public AbstractConfigurationModel()
    • Method Detail

      • getCharset

        public Charset getCharset()
        Gets the charset reflecting the current configuration state.
        Specified by:
        getCharset in interface ConfigurationModel
        Returns:
        Charset for the current configuration
      • getParser

        public Parser getParser()
        Description copied from interface: ConfigurationModel
        Gets a parser instance reflecting the current configuration state.
        Specified by:
        getParser in interface ConfigurationModel
        Returns:
        A parser for the current configuration
      • getTokenizers

        public List<org.sonar.colorizer.Tokenizer> getTokenizers()
        Description copied from interface: ConfigurationModel
        Gets tokenizers reflecting the current configuration state.
        Specified by:
        getTokenizers in interface ConfigurationModel
        Returns:
        Tokenizers for the current configuration
      • doGetParser

        public abstract Parser doGetParser()
        Gets a parser instance reflecting the current configuration state. This method will not be called twice in a row without a change in the configuration state.
        Returns:
        A parser for the current configuration
      • doGetTokenizers

        public abstract List<org.sonar.colorizer.Tokenizer> doGetTokenizers()
        Gets tokenizers reflecting the current configuration state. This method will not be called twice in a row without a change in the configuration state.
        Returns:
        Tokenizers for the current configuration