public final class MavenRepoService extends Object
Modifier and Type | Method and Description |
---|---|
static void |
clearLogs() |
static Component |
getComponent(String strArtifactId,
boolean bFetch)
Gets a component using cache feature
|
static Component |
getComponent(String strArtifactId,
boolean bFetch,
boolean bForceReload)
Gets a component using cache feature
|
static Component |
getComponent(String strArtifactId,
boolean bFetch,
boolean bForceReload,
String strType)
Gets a component
|
ComponentsInfos |
getComponents()
Gets the component list
|
static List<String> |
getComponentsListFromRepository()
Get the components list
|
static String |
getLatestCoreVersion() |
static String |
getLogs() |
static String |
getVersion(String strUrl)
Retrieve a version from the maven repository
|
static MavenRepoService |
instance()
Returns the unique instance
|
static void |
setPomSiteVersion()
Set the POM site version
|
static void |
setReleaseVersion(Dependency component)
Set the component's version
|
void |
updateCache()
Update the cache (reset and rebuild)
|
public static MavenRepoService instance()
public static void setReleaseVersion(Dependency component)
component
- The componentpublic static void setPomSiteVersion()
public static String getVersion(String strUrl)
strUrl
- The maven repository URLpublic ComponentsInfos getComponents()
public static List<String> getComponentsListFromRepository()
public static Component getComponent(String strArtifactId, boolean bFetch)
strArtifactId
- The component namebFetch
- public static Component getComponent(String strArtifactId, boolean bFetch, boolean bForceReload)
strArtifactId
- The component namebFetch
- bForceReload
- public static Component getComponent(String strArtifactId, boolean bFetch, boolean bForceReload, String strType)
strArtifactId
- bFetch
- bForceReload
- strType
- the component typepublic void updateCache()
public static String getLogs()
public static void clearLogs()
public static String getLatestCoreVersion()
Copyright © 2018 City of Paris. All rights reserved.