Class Configuration
- java.lang.Object
-
- org.jboss.set.mavendependencyupdater.configuration.Configuration
-
public class Configuration extends Object
Provides tool configuration.
-
-
Constructor Summary
Constructors Constructor Description Configuration(File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.apache.commons.lang3.tuple.Pair<org.jboss.set.mavendependencyupdater.common.ident.ScopedArtifactRef,String>>findOutOfDateRestrictions(Collection<org.jboss.set.mavendependencyupdater.common.ident.ScopedArtifactRef> currentDependencies)GitConfigurationModelgetGit()GitHubConfigurationModelgetGitHub()List<String>getIgnoreScopes()LoggerModelgetLogger()Map<String,String>getRepositories()<T extends Restriction>
Optional<T>getRestrictionFor(String g, String a, Class<T> restrictionClass)List<Restriction>getRestrictionsFor(String g, String a)
-
-
-
Field Detail
-
QUALIFIER
public static final String QUALIFIER
- See Also:
- Constant Field Values
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
STREAM
public static final String STREAM
- See Also:
- Constant Field Values
-
COMMENT
public static final String COMMENT
- See Also:
- Constant Field Values
-
NEVER
public static final String NEVER
- See Also:
- Constant Field Values
-
IGNORE
public static final String IGNORE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Configuration
public Configuration(File file) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getRestrictionsFor
public List<Restriction> getRestrictionsFor(String g, String a)
-
getRestrictionFor
public <T extends Restriction> Optional<T> getRestrictionFor(String g, String a, Class<T> restrictionClass)
-
findOutOfDateRestrictions
public Collection<org.apache.commons.lang3.tuple.Pair<org.jboss.set.mavendependencyupdater.common.ident.ScopedArtifactRef,String>> findOutOfDateRestrictions(Collection<org.jboss.set.mavendependencyupdater.common.ident.ScopedArtifactRef> currentDependencies)
-
getGitHub
public GitHubConfigurationModel getGitHub()
-
getGit
public GitConfigurationModel getGit()
-
getLogger
public LoggerModel getLogger()
-
-