public interface IComponentService
| Modifier and Type | Method and Description |
|---|---|
void |
changeNextReleaseVersion(Component component)
Change next release version.
|
Component |
getComponentBranchList(Site site,
String artifactId,
ReleaserUser user)
Set list of all component branches
|
Component |
getLastBranchVersion(Component component,
String branchName,
ReleaserUser user) |
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)
Gets the search component.
|
void |
init()
Inits the.
|
boolean |
isErrorSnapshotComponentInformations(Component component,
String strComponentPomPath)
Checks if is error snapshot component informations.
|
boolean |
isGitComponent(Component component)
Checks if is git component.
|
Component |
loadComponent(Component component,
String strPom,
String stUser,
String strPassword)
Load component.
|
int |
release(Component component,
Locale locale,
fr.paris.lutece.portal.business.user.AdminUser user,
javax.servlet.http.HttpServletRequest request)
Release.
|
int |
release(Component component,
Locale locale,
fr.paris.lutece.portal.business.user.AdminUser user,
javax.servlet.http.HttpServletRequest request,
boolean forceRelease)
Release.
|
void |
setLastReleaseNextSnapshotVersion(String strArtifactId,
String strVersion)
setLastReleaseNextSnapshotVersion.
|
void |
setLastReleaseVersion(String strArtifactId,
String strVersion)
set the LastAvailableVersion
set The LastAvailableVersion.
|
void |
setRemoteInformations(Component component,
boolean bCache)
Sets the remote informations.
|
void |
updateRemoteInformations(Component component)
Update remote informations.
|
void setRemoteInformations(Component component, boolean bCache) throws fr.paris.lutece.util.httpaccess.HttpAccessException, IOException
component - the componentbCache - the b cachefr.paris.lutece.util.httpaccess.HttpAccessException - the http access exceptionIOException - Signals that an I/O exception has occurred.void updateRemoteInformations(Component component)
component - the componentint release(Component component, Locale locale, fr.paris.lutece.portal.business.user.AdminUser user, javax.servlet.http.HttpServletRequest request, boolean forceRelease)
component - the componentlocale - the localeuser - the userrequest - the requestforceRelease - the force releaseint release(Component component, Locale locale, fr.paris.lutece.portal.business.user.AdminUser user, javax.servlet.http.HttpServletRequest request)
component - the componentlocale - the localeuser - the userrequest - the requestboolean isGitComponent(Component component)
component - the componentString getLastReleaseVersion(String strArtifactId)
strArtifactId - the str artifact idvoid setLastReleaseVersion(String strArtifactId, String strVersion)
strArtifactId - the str artifact idstrVersion - the str versionString getLastReleaseNextSnapshotVersion(String strArtifactId)
strArtifactId - the str artifact idvoid setLastReleaseNextSnapshotVersion(String strArtifactId, String strVersion)
strArtifactId - the str artifact idstrVersion - the str versionfr.paris.lutece.portal.web.util.LocalizedPaginator<Component> getSearchComponent(String strSearch, javax.servlet.http.HttpServletRequest request, Locale locale, String strPaginateUrl, String strCurrentPageIndex)
strSearch - the str searchrequest - the requestlocale - the localestrPaginateUrl - the str paginate urlstrCurrentPageIndex - the str current page indexComponent loadComponent(Component component, String strPom, String stUser, String strPassword)
component - the componentstrPom - the str pomstUser - the st userstrPassword - the str passwordvoid changeNextReleaseVersion(Component component)
component - componentboolean isErrorSnapshotComponentInformations(Component component, String strComponentPomPath)
component - the componentstrComponentPomPath - the str component pom pathvoid init()
Component getComponentBranchList(Site site, String artifactId, ReleaserUser user)
site - The siteartifactId - The component artifactIduser - The userComponent getLastBranchVersion(Component component, String branchName, ReleaserUser user)
Copyright © 2022 City of Paris. All rights reserved.