Class HeaderSection


  • public class HeaderSection
    extends Object
    • Field Detail

      • key

        @Parameter(required=true)
        public String key
        The name of this section to match. Example:

        COPYRIGHT_SECTION

      • defaultValue

        @Parameter(required=true)
        public String defaultValue
        The default value that will be used. Example:

        Copyright (C) 2011 http://code.google.com/p/maven-license-plugin/

      • ensureMatch

        @Parameter(required=true)
        public String ensureMatch
        The pattern to use to match this section in the header. Example:

        Copyright \(C\) \d{4} .*

    • Constructor Detail

      • HeaderSection

        public HeaderSection()
    • Method Detail

      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)
      • getDefaultValue

        public String getDefaultValue()
      • setDefaultValue

        public void setDefaultValue​(String defaultValue)
      • getEnsureMatch

        public String getEnsureMatch()
      • setEnsureMatch

        public void setEnsureMatch​(String ensureMatch)
      • isMultiLineMatch

        public boolean isMultiLineMatch()
      • setMultiLineMatch

        public void setMultiLineMatch​(boolean multiLineMatch)