Class VersionKeywords
- java.lang.Object
-
- com.github.manikmagar.maven.versioner.core.params.VersionKeywords
-
public final class VersionKeywords extends Object
Define the version keywords to use when parsing git commit messages.
-
-
Field Summary
Fields Modifier and Type Field Description static StringGV_KEYWORDS_KEY_USEREGEXstatic StringGV_KEYWORDS_MAJOR_KEYstatic StringGV_KEYWORDS_MINOR_KEYstatic StringGV_KEYWORDS_PATCH_KEYstatic StringKEY_MAJORstatic StringKEY_MINORstatic StringKEY_PATCH
-
Constructor Summary
Constructors Constructor Description VersionKeywords()VersionKeywords(String majorKey, String minorKey, String patchKey, boolean useRegex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetMajorKey()StringgetMinorKey()StringgetPatchKey()inthashCode()booleanisUseRegex()voidsetMajorKey(String majorKey)voidsetMinorKey(String minorKey)voidsetPatchKey(String patchKey)voidsetUseRegex(boolean useRegex)
-
-
-
Field Detail
-
KEY_MAJOR
public static final String KEY_MAJOR
- See Also:
- Constant Field Values
-
KEY_MINOR
public static final String KEY_MINOR
- See Also:
- Constant Field Values
-
KEY_PATCH
public static final String KEY_PATCH
- See Also:
- Constant Field Values
-
GV_KEYWORDS_MAJOR_KEY
public static final String GV_KEYWORDS_MAJOR_KEY
- See Also:
- Constant Field Values
-
GV_KEYWORDS_MINOR_KEY
public static final String GV_KEYWORDS_MINOR_KEY
- See Also:
- Constant Field Values
-
GV_KEYWORDS_PATCH_KEY
public static final String GV_KEYWORDS_PATCH_KEY
- See Also:
- Constant Field Values
-
GV_KEYWORDS_KEY_USEREGEX
public static final String GV_KEYWORDS_KEY_USEREGEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMajorKey
public String getMajorKey()
-
setMajorKey
public void setMajorKey(String majorKey)
-
getMinorKey
public String getMinorKey()
-
setMinorKey
public void setMinorKey(String minorKey)
-
getPatchKey
public String getPatchKey()
-
setPatchKey
public void setPatchKey(String patchKey)
-
setUseRegex
public void setUseRegex(boolean useRegex)
-
isUseRegex
public boolean isUseRegex()
-
-