Package org.kordamp.maven.checker
Class MavenCentralChecker.Configuration
- java.lang.Object
-
- org.kordamp.maven.checker.MavenCentralChecker.Configuration
-
- Enclosing class:
- MavenCentralChecker
public static class MavenCentralChecker.Configuration extends Object
-
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFailOnError()booleanisFailOnWarning()booleanisRelease()booleanisStrict()MavenCentralChecker.ConfigurationwithFailOnError(boolean failOnError)Sets the value forfailOnError.MavenCentralChecker.ConfigurationwithFailOnWarning(boolean failOnWarning)Sets the value forfailOnWarning.MavenCentralChecker.ConfigurationwithRelease(boolean release)Sets the value forrelease.MavenCentralChecker.ConfigurationwithStrict(boolean strict)Sets the value forstrict.
-
-
-
Constructor Detail
-
Configuration
public Configuration()
-
-
Method Detail
-
isRelease
public boolean isRelease()
-
withRelease
public MavenCentralChecker.Configuration withRelease(boolean release)
Sets the value forrelease.- Parameters:
release- iftruechecks if version is not -SNAPSHOT.
-
isStrict
public boolean isStrict()
-
withStrict
public MavenCentralChecker.Configuration withStrict(boolean strict)
Sets the value forstrict.- Parameters:
strict- iftruechecks that <repositories> and <pluginRepositories> are not present
-
isFailOnError
public boolean isFailOnError()
-
withFailOnError
public MavenCentralChecker.Configuration withFailOnError(boolean failOnError)
Sets the value forfailOnError.- Parameters:
failOnError- iftruefails the build when an error is encountered.
-
isFailOnWarning
public boolean isFailOnWarning()
-
withFailOnWarning
public MavenCentralChecker.Configuration withFailOnWarning(boolean failOnWarning)
Sets the value forfailOnWarning.- Parameters:
failOnWarning- iftruefails the build when a warning is encountered.
-
-