public class CheckConfiguration extends Object
| Constructor and Description |
|---|
CheckConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileHeaderRegexp()
Gets the regular expression used to check the file headers.
|
List<String> |
getIgnoreKeys()
Gets the list of messages keys, that should be ignored in any statistic.
|
List<String> |
getIncludeVariants()
Gets the list of language variants, that should not be excluded in the checks.
|
int |
getIssuesThreshold()
Determines how many issues should be considered to be a major problem.
|
double |
getPercentageMissing()
Determines how many messages are allowed to be missing (missing or not translated)
before a minor issue should be raised.
|
boolean |
isCheckFileHeaders()
Whether the file header check is enabled.
|
void |
setCheckFileHeaders(boolean checkFileHeaders)
Sets whether the file header check is enabled.
|
void |
setFileHeaderRegexp(String fileHeaderRegexp)
Sets the regular expression used to check the file headers.
|
void |
setIgnoreKeys(List<String> ignoreKeys)
Sets the list of messages keys, that should be ignored in any statistic.
|
void |
setIncludeVariants(List<String> includeVariants)
Sets the list of language variants, that should not be excluded in the checks.
|
void |
setIssueThreshold(int issueThreshold)
Sets the number of issues that are needed to considering the issues as a major problem.
|
void |
setPercentageMissing(double percentageMissing)
Sets how many messages are allowed to be missing (missing or not translated)
before a minor issue should be raised.
|
public double getPercentageMissing()
public void setPercentageMissing(double percentageMissing)
percentageMissing - the new valuepublic boolean isCheckFileHeaders()
true if the file header check is enabled.getFileHeaderRegexp()public void setCheckFileHeaders(boolean checkFileHeaders)
checkFileHeaders - true if the file header check is enabled.getFileHeaderRegexp()public String getFileHeaderRegexp()
isCheckFileHeaders()public void setFileHeaderRegexp(String fileHeaderRegexp)
fileHeaderRegexp - the regular expressionisCheckFileHeaders()public List<String> getIgnoreKeys()
public void setIgnoreKeys(List<String> ignoreKeys)
ignoreKeys - the list of keys that should be ignored.public int getIssuesThreshold()
public void setIssueThreshold(int issueThreshold)
issueThreshold - number of issuespublic List<String> getIncludeVariants()
Copyright © 2013-2015. All Rights Reserved.