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 Object
implements LocalPathPrefixComposerFactory
Support class for
LocalPathPrefixComposerFactory
implementations: it predefines and makes re-usable
common configuration getters, and defines a support class for LocalPathPrefixComposer
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Support class for composers: it defines protected members for all the predefined configuration values and provides default implementation for methods. -
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final boolean
protected static final boolean
protected static final boolean
protected static final boolean
protected static final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getLocalPrefix
(org.eclipse.aether.RepositorySystemSession session) protected String
getReleasesPrefix
(org.eclipse.aether.RepositorySystemSession session) protected String
getRemotePrefix
(org.eclipse.aether.RepositorySystemSession session) protected 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 Details
-
CONF_PROP_SPLIT
- See Also:
-
DEFAULT_SPLIT
- See Also:
-
CONF_PROP_LOCAL_PREFIX
- See Also:
-
DEFAULT_LOCAL_PREFIX
- See Also:
-
CONF_PROP_SPLIT_LOCAL
- See Also:
-
DEFAULT_SPLIT_LOCAL
- See Also:
-
CONF_PROP_REMOTE_PREFIX
- See Also:
-
DEFAULT_REMOTE_PREFIX
- See Also:
-
CONF_PROP_SPLIT_REMOTE
- See Also:
-
DEFAULT_SPLIT_REMOTE
- See Also:
-
CONF_PROP_SPLIT_REMOTE_REPOSITORY
- See Also:
-
DEFAULT_SPLIT_REMOTE_REPOSITORY
- See Also:
-
CONF_PROP_SPLIT_REMOTE_REPOSITORY_LAST
- See Also:
-
DEFAULT_SPLIT_REMOTE_REPOSITORY_LAST
- See Also:
-
CONF_PROP_RELEASES_PREFIX
- See Also:
-
DEFAULT_RELEASES_PREFIX
- See Also:
-
CONF_PROP_SNAPSHOTS_PREFIX
- See Also:
-
DEFAULT_SNAPSHOTS_PREFIX
- See Also:
-
-
Constructor Details
-
LocalPathPrefixComposerFactorySupport
-
-
Method Details
-
isSplit
-
getLocalPrefix
-
isSplitLocal
-
getRemotePrefix
-
isSplitRemote
-
isSplitRemoteRepository
-
isSplitRemoteRepositoryLast
-
getReleasesPrefix
-
getSnapshotsPrefix
-