Interface Root

  • All Superinterfaces:
    Block
    All Known Subinterfaces:
    ConfigurationLayer
    All Known Implementing Classes:
    Configuration

    public interface Root
    extends Block
    This interface models the configuration root block, with global options.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getBump()
      Returns the version identifier to bump as it's defined by this configuration.
      CommitMessageConventions getCommitMessageConventions()
      Returns the commit message convention configuration block.
      File getDirectory()
      Returns the directory to use as the working directory as it's defined by this configuration.
      Boolean getDryRun()
      Returns the value of the dry run flag as it's defined by this configuration.
      String getInitialVersion()
      Returns the initial version defined by this configuration to use when no past version is available in the commit history.
      Boolean getReleaseLenient()
      Returns the flag that enables tolerance in reading release names with arbitrary prefixes or extra non critical characters as it's defined by this configuration.
      String getReleasePrefix()
      Returns the prefix to use in release name generation as it's defined by this configuration.
      Boolean getResume()
      Returns the value of the resume flag as it's defined by this configuration.
      Scheme getScheme()
      Returns the versioning scheme to use as it's defined by this configuration.
      String getStateFile()
      Returns the path to the file where the Nyx State must be saved as it's defined by this configuration.
      Verbosity getVerbosity()
      Returns the logging verbosity level as it's defined by this configuration.
      String getVersion()
      Returns the version defined by this configuration.