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 forLocalPathPrefixComposerFactoryimplementations: it predefines and makes re-usable common configuration getters, and defines a support class forLocalPathPrefixComposercarrying 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 classLocalPathPrefixComposerFactorySupport.LocalPathPrefixComposerSupportSupport 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.StringCONF_PROP_LOCAL_PREFIXprotected static java.lang.StringCONF_PROP_RELEASES_PREFIXprotected static java.lang.StringCONF_PROP_REMOTE_PREFIXprotected static java.lang.StringCONF_PROP_SNAPSHOTS_PREFIXprotected static java.lang.StringCONF_PROP_SPLITprotected static java.lang.StringCONF_PROP_SPLIT_LOCALprotected static java.lang.StringCONF_PROP_SPLIT_REMOTEprotected static java.lang.StringCONF_PROP_SPLIT_REMOTE_REPOSITORYprotected static java.lang.StringCONF_PROP_SPLIT_REMOTE_REPOSITORY_LASTprotected static java.lang.StringDEFAULT_LOCAL_PREFIXprotected static java.lang.StringDEFAULT_RELEASES_PREFIXprotected static java.lang.StringDEFAULT_REMOTE_PREFIXprotected static java.lang.StringDEFAULT_SNAPSHOTS_PREFIXprotected static booleanDEFAULT_SPLITprotected static booleanDEFAULT_SPLIT_LOCALprotected static booleanDEFAULT_SPLIT_REMOTEprotected static booleanDEFAULT_SPLIT_REMOTE_REPOSITORYprotected static booleanDEFAULT_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.StringgetLocalPrefix(org.eclipse.aether.RepositorySystemSession session)protected java.lang.StringgetReleasesPrefix(org.eclipse.aether.RepositorySystemSession session)protected java.lang.StringgetRemotePrefix(org.eclipse.aether.RepositorySystemSession session)protected java.lang.StringgetSnapshotsPrefix(org.eclipse.aether.RepositorySystemSession session)protected booleanisSplit(org.eclipse.aether.RepositorySystemSession session)protected booleanisSplitLocal(org.eclipse.aether.RepositorySystemSession session)protected booleanisSplitRemote(org.eclipse.aether.RepositorySystemSession session)protected booleanisSplitRemoteRepository(org.eclipse.aether.RepositorySystemSession session)protected booleanisSplitRemoteRepositoryLast(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)
-
-