Package org.eclipse.aether.internal.impl
Class LocalPathPrefixComposerFactorySupport
- java.lang.Object
-
- org.eclipse.aether.internal.impl.LocalPathPrefixComposerFactorySupport
-
- All Implemented Interfaces:
LocalPathPrefixComposerFactory
- Direct Known Subclasses:
DefaultLocalPathPrefixComposerFactory
public abstract class LocalPathPrefixComposerFactorySupport extends java.lang.Object implements LocalPathPrefixComposerFactory
Support class forLocalPathPrefixComposerFactory
implementations: it predefines and makes re-usable common configuration getters, and defines a support class forLocalPathPrefixComposer
carrying same configuration and providing default implementation for all methods. Implementors should extend this class to implement custom split strategies. If one needs to alter default configuration, they should override any configuration getter from this class.- Since:
- 1.8.1
- See Also:
DefaultLocalPathPrefixComposerFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
LocalPathPrefixComposerFactorySupport.LocalPathPrefixComposerSupport
Support class for composers: it defines protected members for all the predefined configuration values and provides default implementation for methods.
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
CONF_PROP_LOCAL_PREFIX
protected static java.lang.String
CONF_PROP_RELEASES_PREFIX
protected static java.lang.String
CONF_PROP_REMOTE_PREFIX
protected static java.lang.String
CONF_PROP_SNAPSHOTS_PREFIX
protected static java.lang.String
CONF_PROP_SPLIT
protected static java.lang.String
CONF_PROP_SPLIT_LOCAL
protected static java.lang.String
CONF_PROP_SPLIT_REMOTE
protected static java.lang.String
CONF_PROP_SPLIT_REMOTE_REPOSITORY
protected static java.lang.String
CONF_PROP_SPLIT_REMOTE_REPOSITORY_LAST
protected static java.lang.String
DEFAULT_LOCAL_PREFIX
protected static java.lang.String
DEFAULT_RELEASES_PREFIX
protected static java.lang.String
DEFAULT_REMOTE_PREFIX
protected static java.lang.String
DEFAULT_SNAPSHOTS_PREFIX
protected static boolean
DEFAULT_SPLIT
protected static boolean
DEFAULT_SPLIT_LOCAL
protected static boolean
DEFAULT_SPLIT_REMOTE
protected static boolean
DEFAULT_SPLIT_REMOTE_REPOSITORY
protected static boolean
DEFAULT_SPLIT_REMOTE_REPOSITORY_LAST
-
Constructor Summary
Constructors Constructor Description LocalPathPrefixComposerFactorySupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getLocalPrefix(org.eclipse.aether.RepositorySystemSession session)
protected java.lang.String
getReleasesPrefix(org.eclipse.aether.RepositorySystemSession session)
protected java.lang.String
getRemotePrefix(org.eclipse.aether.RepositorySystemSession session)
protected java.lang.String
getSnapshotsPrefix(org.eclipse.aether.RepositorySystemSession session)
protected boolean
isSplit(org.eclipse.aether.RepositorySystemSession session)
protected boolean
isSplitLocal(org.eclipse.aether.RepositorySystemSession session)
protected boolean
isSplitRemote(org.eclipse.aether.RepositorySystemSession session)
protected boolean
isSplitRemoteRepository(org.eclipse.aether.RepositorySystemSession session)
protected boolean
isSplitRemoteRepositoryLast(org.eclipse.aether.RepositorySystemSession session)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.aether.internal.impl.LocalPathPrefixComposerFactory
createComposer
-
-
-
-
Field Detail
-
CONF_PROP_SPLIT
protected static final java.lang.String CONF_PROP_SPLIT
- See Also:
- Constant Field Values
-
DEFAULT_SPLIT
protected static final boolean DEFAULT_SPLIT
- See Also:
- Constant Field Values
-
CONF_PROP_LOCAL_PREFIX
protected static final java.lang.String CONF_PROP_LOCAL_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_LOCAL_PREFIX
protected static final java.lang.String DEFAULT_LOCAL_PREFIX
- See Also:
- Constant Field Values
-
CONF_PROP_SPLIT_LOCAL
protected static final java.lang.String CONF_PROP_SPLIT_LOCAL
- See Also:
- Constant Field Values
-
DEFAULT_SPLIT_LOCAL
protected static final boolean DEFAULT_SPLIT_LOCAL
- See Also:
- Constant Field Values
-
CONF_PROP_REMOTE_PREFIX
protected static final java.lang.String CONF_PROP_REMOTE_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_REMOTE_PREFIX
protected static final java.lang.String DEFAULT_REMOTE_PREFIX
- See Also:
- Constant Field Values
-
CONF_PROP_SPLIT_REMOTE
protected static final java.lang.String CONF_PROP_SPLIT_REMOTE
- See Also:
- Constant Field Values
-
DEFAULT_SPLIT_REMOTE
protected static final boolean DEFAULT_SPLIT_REMOTE
- See Also:
- Constant Field Values
-
CONF_PROP_SPLIT_REMOTE_REPOSITORY
protected static final java.lang.String CONF_PROP_SPLIT_REMOTE_REPOSITORY
- See Also:
- Constant Field Values
-
DEFAULT_SPLIT_REMOTE_REPOSITORY
protected static final boolean DEFAULT_SPLIT_REMOTE_REPOSITORY
- See Also:
- Constant Field Values
-
CONF_PROP_SPLIT_REMOTE_REPOSITORY_LAST
protected static final java.lang.String CONF_PROP_SPLIT_REMOTE_REPOSITORY_LAST
- See Also:
- Constant Field Values
-
DEFAULT_SPLIT_REMOTE_REPOSITORY_LAST
protected static final boolean DEFAULT_SPLIT_REMOTE_REPOSITORY_LAST
- See Also:
- Constant Field Values
-
CONF_PROP_RELEASES_PREFIX
protected static final java.lang.String CONF_PROP_RELEASES_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_RELEASES_PREFIX
protected static final java.lang.String DEFAULT_RELEASES_PREFIX
- See Also:
- Constant Field Values
-
CONF_PROP_SNAPSHOTS_PREFIX
protected static final java.lang.String CONF_PROP_SNAPSHOTS_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_SNAPSHOTS_PREFIX
protected static final java.lang.String DEFAULT_SNAPSHOTS_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LocalPathPrefixComposerFactorySupport
public LocalPathPrefixComposerFactorySupport()
-
-
Method Detail
-
isSplit
protected boolean isSplit(org.eclipse.aether.RepositorySystemSession session)
-
getLocalPrefix
protected java.lang.String getLocalPrefix(org.eclipse.aether.RepositorySystemSession session)
-
isSplitLocal
protected boolean isSplitLocal(org.eclipse.aether.RepositorySystemSession session)
-
getRemotePrefix
protected java.lang.String getRemotePrefix(org.eclipse.aether.RepositorySystemSession session)
-
isSplitRemote
protected boolean isSplitRemote(org.eclipse.aether.RepositorySystemSession session)
-
isSplitRemoteRepository
protected boolean isSplitRemoteRepository(org.eclipse.aether.RepositorySystemSession session)
-
isSplitRemoteRepositoryLast
protected boolean isSplitRemoteRepositoryLast(org.eclipse.aether.RepositorySystemSession session)
-
getReleasesPrefix
protected java.lang.String getReleasesPrefix(org.eclipse.aether.RepositorySystemSession session)
-
getSnapshotsPrefix
protected java.lang.String getSnapshotsPrefix(org.eclipse.aether.RepositorySystemSession session)
-
-