Interface Defaults


  • public interface Defaults
    A utility interface that collects default configuration values.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String BUMP
      The default version identifier to bump.
      static File DIRECTORY
      The default working directory.
      static Boolean DRY_RUN
      The flag that prevents to alter any repository state and instead just log the actions that would be taken.
      static Version INITIAL_VERSION
      The initial version to use.
      static Boolean RELEASE_LENIENT
      The flag that alows reading releases from the history tolerating arbitrary prefixes and extra non critical characters.
      static String RELEASE_PREFIX
      The default prefix to add at the beginning of a version identifier to generate the release identifier.
      static Scheme SCHEME
      The versioning scheme to use.
      static Verbosity VERBOSITY
      The logging level.
      static Version VERSION
      The release version.
    • Field Detail

      • BUMP

        static final String BUMP
        The default version identifier to bump. Value: null
      • DIRECTORY

        static final File DIRECTORY
        The default working directory. Defaults to the current user directory returned by reading the user.dir from System.getProperty(String)
      • DRY_RUN

        static final Boolean DRY_RUN
        The flag that prevents to alter any repository state and instead just log the actions that would be taken. Value: false
      • INITIAL_VERSION

        static final Version INITIAL_VERSION
        The initial version to use. Value: Scheme.SEMVER This strongly depends on the SCHEME and as long as it's Scheme.SEMVER, we use that to select the initial version.
      • RELEASE_PREFIX

        static final String RELEASE_PREFIX
        The default prefix to add at the beginning of a version identifier to generate the release identifier. Value: "v"
        See Also:
        Constant Field Values
      • RELEASE_LENIENT

        static final Boolean RELEASE_LENIENT
        The flag that alows reading releases from the history tolerating arbitrary prefixes and extra non critical characters. Value: true
      • VERBOSITY

        static final Verbosity VERBOSITY
        The logging level. Value: Verbosity.WARNING. Please note that the verbosity option is actually ignored in this library implementation as the event filtering based on the verbosity needs to be configured outside this library, depending on the logging framework deployed along with SLF4J. See here for more.
      • VERSION

        static final Version VERSION
        The release version. Value: null