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