Package org.apache.ivy.plugins.resolver
Class AbstractResolver.ResolverParserSettings
- java.lang.Object
-
- org.apache.ivy.plugins.resolver.AbstractResolver.ResolverParserSettings
-
- All Implemented Interfaces:
ParserSettings
- Enclosing class:
- AbstractResolver
private class AbstractResolver.ResolverParserSettings extends java.lang.Object implements ParserSettings
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ResolverParserSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConflictManager
getConflictManager(java.lang.String name)
Namespace
getContextNamespace()
java.lang.String
getDefaultBranch(ModuleId moduleId)
PatternMatcher
getMatcher(java.lang.String matcherName)
Namespace
getNamespace(java.lang.String namespace)
RelativeUrlResolver
getRelativeUrlResolver()
ResolutionCacheManager
getResolutionCacheManager()
DependencyResolver
getResolver(ModuleRevisionId mRevId)
StatusManager
getStatusManager()
TimeoutConstraint
getTimeoutConstraint(java.lang.String name)
java.lang.String
getVariable(java.lang.String value)
java.io.File
resolveFile(java.lang.String filename)
java.lang.String
substitute(java.lang.String value)
java.util.Map<java.lang.String,java.lang.String>
substitute(java.util.Map<java.lang.String,java.lang.String> strings)
-
-
-
Method Detail
-
getConflictManager
public ConflictManager getConflictManager(java.lang.String name)
- Specified by:
getConflictManager
in interfaceParserSettings
-
getContextNamespace
public Namespace getContextNamespace()
- Specified by:
getContextNamespace
in interfaceParserSettings
- Returns:
- the namespace context in which the current descriptor is parsed.
-
getDefaultBranch
public java.lang.String getDefaultBranch(ModuleId moduleId)
- Specified by:
getDefaultBranch
in interfaceParserSettings
-
getMatcher
public PatternMatcher getMatcher(java.lang.String matcherName)
- Specified by:
getMatcher
in interfaceParserSettings
-
getNamespace
public Namespace getNamespace(java.lang.String namespace)
- Specified by:
getNamespace
in interfaceParserSettings
-
getRelativeUrlResolver
public RelativeUrlResolver getRelativeUrlResolver()
- Specified by:
getRelativeUrlResolver
in interfaceParserSettings
-
getResolutionCacheManager
public ResolutionCacheManager getResolutionCacheManager()
- Specified by:
getResolutionCacheManager
in interfaceParserSettings
-
getResolver
public DependencyResolver getResolver(ModuleRevisionId mRevId)
- Specified by:
getResolver
in interfaceParserSettings
-
getStatusManager
public StatusManager getStatusManager()
- Specified by:
getStatusManager
in interfaceParserSettings
-
resolveFile
public java.io.File resolveFile(java.lang.String filename)
- Specified by:
resolveFile
in interfaceParserSettings
-
substitute
public java.util.Map<java.lang.String,java.lang.String> substitute(java.util.Map<java.lang.String,java.lang.String> strings)
- Specified by:
substitute
in interfaceParserSettings
-
substitute
public java.lang.String substitute(java.lang.String value)
- Specified by:
substitute
in interfaceParserSettings
-
getVariable
public java.lang.String getVariable(java.lang.String value)
- Specified by:
getVariable
in interfaceParserSettings
-
getTimeoutConstraint
public TimeoutConstraint getTimeoutConstraint(java.lang.String name)
- Specified by:
getTimeoutConstraint
in interfaceParserSettings
- Parameters:
name
- The name of theTimeoutConstraint
- Returns:
- Returns a
TimeoutConstraint
which is identified by the passedname
. Returns null if no suchTimeoutConstraint
exists
-
-