public class MavenRemoteRepository extends AbstractRemoteRepository implements RemoteRepository
CRON_DEFINITION, location| Constructor and Description | 
|---|
| MavenRemoteRepository(Locale primaryLocale,
                     String id,
                     String name,
                     FilesystemStorage storage) | 
| MavenRemoteRepository(String id,
                     String name,
                     FilesystemStorage storage) | 
| Modifier and Type | Method and Description | 
|---|---|
| RepositoryCapabilities | getCapabilities()Returns the capabilities of the repository implementation. | 
| <T extends RepositoryFeature<T>> | getFeature(Class<T> clazz)Extension method that allows to provide different features that are not supported by all
 repository types. | 
| boolean | hasIndex()Returns true, if this repository has a index available | 
| static MavenRemoteRepository | newLocalInstance(String id,
                String name,
                Path basePath) | 
| <T extends RepositoryFeature<T>> | supportsFeature(Class<T> clazz)Returns true, if the requested feature is supported by this repository. | 
| String | toString() | 
addExtraHeader, addExtraParameter, getCheckPath, getContent, getExtraHeaders, getExtraParameters, getLocalPath, getLoginCredentials, getTimeout, setCheckPath, setContent, setCredentials, setExtraHeaders, setExtraParameters, setLocation, setTimeoutaddAsset, addFailoverLocation, addFeature, clearFailoverLocations, close, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, getDescription, getDescription, getFailoverLocations, getId, getIndexingContext, getLayout, getLocation, getName, getName, getPrimaryLocale, getSchedulingDefinition, getStorage, getType, handle, isOpen, isScanned, moveAsset, moveAsset, registerEventHandler, removeAsset, removeFailoverLocation, setBaseUri, setDescription, setIndexingContext, setLayout, setName, setPrimaryLocale, setScanned, setSchedulingDefinition, setStorage, unregisterEventHandler, updateLocation, writeData, writeDataToChannelclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCheckPath, getContent, getExtraHeaders, getExtraParameters, getLoginCredentials, getTimeoutclose, getDescription, getDescription, getFailoverLocations, getId, getIndexingContext, getLayout, getLocalPath, getLocation, getName, getName, getSchedulingDefinition, getType, isOpen, isScannedregisterEventHandler, unregisterEventHandleraddAsset, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, moveAsset, moveAsset, removeAsset, updateLocation, writeData, writeDataToChanneladdFailoverLocation, clearFailoverLocations, getPrimaryLocale, removeFailoverLocation, setBaseUri, setDescription, setIndexingContext, setLayout, setName, setScanned, setSchedulingDefinitionpublic MavenRemoteRepository(String id, String name, FilesystemStorage storage)
public MavenRemoteRepository(Locale primaryLocale, String id, String name, FilesystemStorage storage)
public boolean hasIndex()
RepositoryhasIndex in interface RepositoryhasIndex in class AbstractRepositorypublic RepositoryCapabilities getCapabilities()
RepositorygetCapabilities in interface RepositorygetCapabilities in class AbstractRepositorypublic <T extends RepositoryFeature<T>> RepositoryFeature<T> getFeature(Class<T> clazz) throws UnsupportedFeatureException
RepositorygetFeature in interface RepositorygetFeature in class AbstractRepositoryT - This is the class of the featureclazz - The feature class that is requestedUnsupportedFeatureException - if the feature is not supported by this repository typepublic <T extends RepositoryFeature<T>> boolean supportsFeature(Class<T> clazz)
RepositorysupportsFeature in interface RepositorysupportsFeature in class AbstractRepositoryT - The requested feature classclazz - The requested feature classpublic String toString()
toString in class AbstractRemoteRepositorypublic static MavenRemoteRepository newLocalInstance(String id, String name, Path basePath) throws IOException
IOExceptionCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.