Class SimpleConfigurationLayer.SimpleCommitMessageConventions

    • Constructor Detail

      • SimpleCommitMessageConventions

        public SimpleCommitMessageConventions()
        Default constructor.
    • Method Detail

      • getEnabled

        public List<String> getEnabled()
        Returns the list of enabled commit message convention names.
        Specified by:
        getEnabled in interface CommitMessageConventions
        Returns:
        the list of enabled commit message convention names. It may be null if not configured.
      • setEnabled

        public void setEnabled​(List<String> enabled)
        Sets the value for this option.
        Parameters:
        enabled - the value for this option.
      • getItems

        public Map<String,​CommitMessageConvention> getItems()
        Returns the map of the commit message conventions configured in this block, where keys are convention names and values are actual convention objects.
        Specified by:
        getItems in interface CommitMessageConventions
        Returns:
        the map of the commit message conventions configured in this block, where keys are convention names and values are actual convention objects. It may be empty but not null if not configured.
      • getItem

        public CommitMessageConvention getItem​(String name)
        Returns the commit message convention with the given name configured in this block, if any.
        Specified by:
        getItem in interface CommitMessageConventions
        Parameters:
        name - the name of the item to retrieve. Cannot be null.
        Returns:
        the commit message convention with the given name configured in this block, if any. It may be null if this block has no such item.