public class ComponentService extends Object implements IComponentService
| Constructor and Description |
|---|
ComponentService() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeNextReleaseVersion(Component component)
Change the next release version
|
String |
getLastReleaseNextSnapshotVersion(String strArtifactId)
Returns the LastAvailableVersion
|
String |
getLastReleaseVersion(String strArtifactId)
Returns the LastAvailableVersion
|
fr.paris.lutece.portal.web.util.LocalizedPaginator<Component> |
getSearchComponent(String strSearch,
javax.servlet.http.HttpServletRequest request,
Locale locale,
String strPaginateUrl,
String strCurrentPageIndex) |
static IComponentService |
getService() |
void |
init() |
boolean |
isErrorSnapshotComponentInformations(Component component,
String strComponentPomPath) |
boolean |
isGitComponent(Component component) |
Component |
loadComponent(Component component,
String strPom,
String stUser,
String strPassword) |
int |
release(Component component,
Locale locale,
fr.paris.lutece.portal.business.user.AdminUser user,
javax.servlet.http.HttpServletRequest request) |
int |
release(Component component,
Locale locale,
fr.paris.lutece.portal.business.user.AdminUser user,
javax.servlet.http.HttpServletRequest request,
boolean forceRelease) |
void |
setLastReleaseNextSnapshotVersion(String strArtifactId,
String strVersion)
set the LastAvailableVersion
set The LastAvailableVersion
|
void |
setLastReleaseVersion(String strArtifactId,
String strVersion)
set the LastAvailableVersion
set The LastAvailableVersion
|
void |
setRemoteInformations(Component component,
boolean bCache) |
void |
updateRemoteInformations(Component component) |
public static IComponentService getService()
public void setRemoteInformations(Component component, boolean bCache) throws fr.paris.lutece.util.httpaccess.HttpAccessException, IOException
setRemoteInformations in interface IComponentServicefr.paris.lutece.util.httpaccess.HttpAccessExceptionIOExceptionpublic String getLastReleaseVersion(String strArtifactId)
getLastReleaseVersion in interface IComponentServicepublic void setLastReleaseVersion(String strArtifactId, String strVersion)
setLastReleaseVersion in interface IComponentServicepublic String getLastReleaseNextSnapshotVersion(String strArtifactId)
getLastReleaseNextSnapshotVersion in interface IComponentServicepublic void setLastReleaseNextSnapshotVersion(String strArtifactId, String strVersion)
setLastReleaseNextSnapshotVersion in interface IComponentServicepublic int release(Component component, Locale locale, fr.paris.lutece.portal.business.user.AdminUser user, javax.servlet.http.HttpServletRequest request, boolean forceRelease)
release in interface IComponentServicepublic int release(Component component, Locale locale, fr.paris.lutece.portal.business.user.AdminUser user, javax.servlet.http.HttpServletRequest request)
release in interface IComponentServicepublic boolean isGitComponent(Component component)
isGitComponent in interface IComponentServicepublic void init()
init in interface IComponentServicepublic void updateRemoteInformations(Component component)
updateRemoteInformations in interface IComponentServicepublic fr.paris.lutece.portal.web.util.LocalizedPaginator<Component> getSearchComponent(String strSearch, javax.servlet.http.HttpServletRequest request, Locale locale, String strPaginateUrl, String strCurrentPageIndex)
getSearchComponent in interface IComponentServicepublic Component loadComponent(Component component, String strPom, String stUser, String strPassword)
loadComponent in interface IComponentServicepublic boolean isErrorSnapshotComponentInformations(Component component, String strComponentPomPath)
isErrorSnapshotComponentInformations in interface IComponentServicepublic void changeNextReleaseVersion(Component component)
changeNextReleaseVersion in interface IComponentServicesite - The sitestrArtifactId - The component artifact idCopyright © 2019 City of Paris. All rights reserved.