public class ReleaserUtils extends Object
| Constructor and Description |
|---|
ReleaserUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addInfoError(CommandResult commandResult,
String strError,
Exception e) |
static void |
addTechnicalError(CommandResult commandResult,
String strError) |
static void |
addTechnicalError(CommandResult commandResult,
String strError,
Exception e) |
static int |
compareVersion(String strVersion1,
String strVersion2) |
static int |
convertStringToInt(String strParameter)
convert a string to int
|
static String |
getComponentName(String strScmDeveloperConnection,
String strArtifactId) |
static String |
getLastReleaseNextSnapshotVersionDataKey(String strArtifactId) |
static String |
getLastReleaseVersionDataKey(String strArtifactId) |
static String |
getLocalPath(WorkflowReleaseContext context) |
static String |
getLocalPomPath(WorkflowReleaseContext context) |
static String |
getLocalSitePath(Site site) |
static String |
getLocalSitePomPath(Site site) |
static ReleaserUser |
getReleaserUser(javax.servlet.http.HttpServletRequest request,
Locale locale) |
static String |
getSiteTagName(Site site) |
static String |
getWorklowContextDataKey(String strArtifactId,
int nContextId) |
static boolean |
isApplicationAccountEnable() |
static void |
logEndAction(WorkflowReleaseContext context,
String strActionName) |
static void |
logStartAction(WorkflowReleaseContext context,
String strActionName) |
static void |
populateReleaserUser(javax.servlet.http.HttpServletRequest request,
ReleaserUser user) |
static void |
setReleaserUser(javax.servlet.http.HttpServletRequest request,
ReleaserUser releaserUser) |
static void |
startCommandResult(WorkflowReleaseContext context) |
static void |
stopCommandResult(WorkflowReleaseContext context) |
public static final String REGEX_ID
public static String getWorklowContextDataKey(String strArtifactId, int nContextId)
public static String getLastReleaseVersionDataKey(String strArtifactId)
public static String getLastReleaseNextSnapshotVersionDataKey(String strArtifactId)
public static String getLocalPath(WorkflowReleaseContext context)
public static String getLocalPomPath(WorkflowReleaseContext context)
public static String getComponentName(String strScmDeveloperConnection, String strArtifactId)
public static void addInfoError(CommandResult commandResult, String strError, Exception e)
public static void addTechnicalError(CommandResult commandResult, String strError, Exception e) throws fr.paris.lutece.portal.service.util.AppException
fr.paris.lutece.portal.service.util.AppExceptionpublic static void addTechnicalError(CommandResult commandResult, String strError) throws fr.paris.lutece.portal.service.util.AppException
fr.paris.lutece.portal.service.util.AppExceptionpublic static void startCommandResult(WorkflowReleaseContext context)
public static void logStartAction(WorkflowReleaseContext context, String strActionName)
public static void logEndAction(WorkflowReleaseContext context, String strActionName)
public static void stopCommandResult(WorkflowReleaseContext context)
public static int convertStringToInt(String strParameter)
strParameter - the string parameter to convertpublic static ReleaserUser getReleaserUser(javax.servlet.http.HttpServletRequest request, Locale locale)
public static void populateReleaserUser(javax.servlet.http.HttpServletRequest request,
ReleaserUser user)
public static void setReleaserUser(javax.servlet.http.HttpServletRequest request,
ReleaserUser releaserUser)
public static boolean isApplicationAccountEnable()
Copyright © 2019 City of Paris. All rights reserved.