Class WorkflowReleaseContextService
- java.lang.Object
-
- fr.paris.lutece.plugins.releaser.service.WorkflowReleaseContextService
-
- All Implemented Interfaces:
IWorkflowReleaseContextService
public class WorkflowReleaseContextService extends Object implements IWorkflowReleaseContextService
The Class WorkflowReleaseContextService.
-
-
Constructor Summary
Constructors Constructor Description WorkflowReleaseContextService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddWorkflowReleaseContext(WorkflowReleaseContext context)Adds the workflow release context.voidcheckoutRepository(WorkflowReleaseContext context, Locale locale)Checkout repository.intgetIdWorkflow(WorkflowReleaseContext context)Gets the id workflow.List<WorkflowReleaseContext>getListWorkflowReleaseContextHistory(String strArtifactId)Gets the list workflow release context history.static IWorkflowReleaseContextServicegetService()Gets the service.WorkflowReleaseContextgetWorkflowReleaseContext(int nIdContext)Gets the workflow release context.WorkflowReleaseContextgetWorkflowReleaseContextHistory(int nIdContext)Gets the workflow release context history.voidinit()Inits the.booleanisReleaseInProgress(String strArtifactId)Checks if is release in progress.voidmergeDevelopMaster(WorkflowReleaseContext context, Locale locale)Merge develop master.voidreleasePerformComponent(WorkflowReleaseContext context, Locale locale)Release perform component.voidreleasePerformSite(WorkflowReleaseContext context, Locale locale)Release perform site.voidreleasePrepareComponent(WorkflowReleaseContext context, Locale locale)Release prepare component.voidreleasePrepareSite(WorkflowReleaseContext context, Locale locale)Release prepare site.voidsaveWorkflowReleaseContext(WorkflowReleaseContext context)Save workflow release context.voidsendTweet(WorkflowReleaseContext context, Locale locale)Send tweet.voidstartReleaseInProgress(String strArtifactId)Start release in progress.voidstartWorkflowReleaseContext(WorkflowReleaseContext context, int nIdWorkflow, Locale locale, javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.business.user.AdminUser user)Start workflow release context.voidstopReleaseInProgress(String strArtifactId)Stop release in progress.voidupdateJiraVersions(WorkflowReleaseContext context, Locale locale)Update jira versions.
-
-
-
Method Detail
-
addWorkflowReleaseContext
public int addWorkflowReleaseContext(WorkflowReleaseContext context)
Adds the workflow release context.- Specified by:
addWorkflowReleaseContextin interfaceIWorkflowReleaseContextService- Parameters:
context- the context- Returns:
- the int
-
getWorkflowReleaseContext
public WorkflowReleaseContext getWorkflowReleaseContext(int nIdContext)
Gets the workflow release context.- Specified by:
getWorkflowReleaseContextin interfaceIWorkflowReleaseContextService- Parameters:
nIdContext- the n id context- Returns:
- the workflow release context
-
saveWorkflowReleaseContext
public void saveWorkflowReleaseContext(WorkflowReleaseContext context)
Save workflow release context.- Specified by:
saveWorkflowReleaseContextin interfaceIWorkflowReleaseContextService- Parameters:
context- the context
-
getWorkflowReleaseContextHistory
public WorkflowReleaseContext getWorkflowReleaseContextHistory(int nIdContext)
Gets the workflow release context history.- Parameters:
nIdContext- the n id context- Returns:
- the workflow release context history
-
getListWorkflowReleaseContextHistory
public List<WorkflowReleaseContext> getListWorkflowReleaseContextHistory(String strArtifactId)
Gets the list workflow release context history.- Specified by:
getListWorkflowReleaseContextHistoryin interfaceIWorkflowReleaseContextService- Parameters:
strArtifactId- the str artifact id- Returns:
- the list workflow release context history
-
getIdWorkflow
public int getIdWorkflow(WorkflowReleaseContext context)
Gets the id workflow.- Specified by:
getIdWorkflowin interfaceIWorkflowReleaseContextService- Parameters:
context- the context- Returns:
- the id workflow
-
getService
public static IWorkflowReleaseContextService getService()
Gets the service.- Returns:
- the service
-
mergeDevelopMaster
public void mergeDevelopMaster(WorkflowReleaseContext context, Locale locale)
Merge develop master.- Specified by:
mergeDevelopMasterin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
releasePrepareComponent
public void releasePrepareComponent(WorkflowReleaseContext context, Locale locale)
Release prepare component.- Specified by:
releasePrepareComponentin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
releasePerformComponent
public void releasePerformComponent(WorkflowReleaseContext context, Locale locale)
Release perform component.- Specified by:
releasePerformComponentin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
checkoutRepository
public void checkoutRepository(WorkflowReleaseContext context, Locale locale)
Checkout repository.- Specified by:
checkoutRepositoryin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
releasePrepareSite
public void releasePrepareSite(WorkflowReleaseContext context, Locale locale)
Release prepare site.- Specified by:
releasePrepareSitein interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
sendTweet
public void sendTweet(WorkflowReleaseContext context, Locale locale)
Send tweet.- Specified by:
sendTweetin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
updateJiraVersions
public void updateJiraVersions(WorkflowReleaseContext context, Locale locale)
Update jira versions.- Specified by:
updateJiraVersionsin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
startWorkflowReleaseContext
public void startWorkflowReleaseContext(WorkflowReleaseContext context, int nIdWorkflow, Locale locale, javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.business.user.AdminUser user)
Start workflow release context.- Specified by:
startWorkflowReleaseContextin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextnIdWorkflow- the n id workflowlocale- the localerequest- the requestuser- the user
-
init
public void init()
Inits the.- Specified by:
initin interfaceIWorkflowReleaseContextService
-
startReleaseInProgress
public void startReleaseInProgress(String strArtifactId)
Start release in progress.- Specified by:
startReleaseInProgressin interfaceIWorkflowReleaseContextService- Parameters:
strArtifactId- the str artifact id
-
stopReleaseInProgress
public void stopReleaseInProgress(String strArtifactId)
Stop release in progress.- Specified by:
stopReleaseInProgressin interfaceIWorkflowReleaseContextService- Parameters:
strArtifactId- the str artifact id
-
isReleaseInProgress
public boolean isReleaseInProgress(String strArtifactId)
Checks if is release in progress.- Specified by:
isReleaseInProgressin interfaceIWorkflowReleaseContextService- Parameters:
strArtifactId- the str artifact id- Returns:
- true, if is release in progress
-
releasePerformSite
public void releasePerformSite(WorkflowReleaseContext context, Locale locale)
Release perform site.- Specified by:
releasePerformSitein interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
-