Class SimpleConfigurationLayer.SimpleCommitMessageConventions

    • Constructor Detail

      • SimpleCommitMessageConventions

        public SimpleCommitMessageConventions()
        Default constructor.
    • Method Detail

      • 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 items configured in this block, where keys are item names and values are actual item objects.
        Specified by:
        getItems in interface MapConfigurationBlock<CommitMessageConvention>
        Returns:
        the map of the items configured in this block, where keys are item names and values are actual item objects. It may be empty but not null if not configured.
      • getItem

        public CommitMessageConvention getItem​(String name)
        Returns the item with the given name configured in this block, if any.
        Specified by:
        getItem in interface MapConfigurationBlock<CommitMessageConvention>
        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.