public abstract class LocalPathPrefixComposerFactorySupport extends Object implements LocalPathPrefixComposerFactory
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.DefaultLocalPathPrefixComposerFactory
Modifier and Type | Class and 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.
|
Modifier and Type | Field and Description |
---|---|
protected static String |
CONF_PROP_LOCAL_PREFIX |
protected static String |
CONF_PROP_RELEASES_PREFIX |
protected static String |
CONF_PROP_REMOTE_PREFIX |
protected static String |
CONF_PROP_SNAPSHOTS_PREFIX |
protected static String |
CONF_PROP_SPLIT |
protected static String |
CONF_PROP_SPLIT_LOCAL |
protected static String |
CONF_PROP_SPLIT_REMOTE |
protected static String |
CONF_PROP_SPLIT_REMOTE_REPOSITORY |
protected static String |
CONF_PROP_SPLIT_REMOTE_REPOSITORY_LAST |
protected static String |
DEFAULT_LOCAL_PREFIX |
protected static String |
DEFAULT_RELEASES_PREFIX |
protected static String |
DEFAULT_REMOTE_PREFIX |
protected static 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 and Description |
---|
LocalPathPrefixComposerFactorySupport() |
Modifier and Type | Method and Description |
---|---|
protected 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createComposer
protected static final String CONF_PROP_SPLIT
protected static final boolean DEFAULT_SPLIT
protected static final String CONF_PROP_LOCAL_PREFIX
protected static final String DEFAULT_LOCAL_PREFIX
protected static final String CONF_PROP_SPLIT_LOCAL
protected static final boolean DEFAULT_SPLIT_LOCAL
protected static final String CONF_PROP_REMOTE_PREFIX
protected static final String DEFAULT_REMOTE_PREFIX
protected static final String CONF_PROP_SPLIT_REMOTE
protected static final boolean DEFAULT_SPLIT_REMOTE
protected static final String CONF_PROP_SPLIT_REMOTE_REPOSITORY
protected static final boolean DEFAULT_SPLIT_REMOTE_REPOSITORY
protected static final String CONF_PROP_SPLIT_REMOTE_REPOSITORY_LAST
protected static final boolean DEFAULT_SPLIT_REMOTE_REPOSITORY_LAST
protected static final String CONF_PROP_RELEASES_PREFIX
protected static final String DEFAULT_RELEASES_PREFIX
protected static final String CONF_PROP_SNAPSHOTS_PREFIX
protected static final String DEFAULT_SNAPSHOTS_PREFIX
public LocalPathPrefixComposerFactorySupport()
protected boolean isSplit(org.eclipse.aether.RepositorySystemSession session)
protected String getLocalPrefix(org.eclipse.aether.RepositorySystemSession session)
protected boolean isSplitLocal(org.eclipse.aether.RepositorySystemSession session)
protected String getRemotePrefix(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)
protected String getReleasesPrefix(org.eclipse.aether.RepositorySystemSession session)
protected String getSnapshotsPrefix(org.eclipse.aether.RepositorySystemSession session)
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.