Class WorkflowReleaseContextService
java.lang.Object
fr.paris.lutece.plugins.releaser.service.WorkflowReleaseContextService
- All Implemented Interfaces:
IWorkflowReleaseContextService
The Class WorkflowReleaseContextService.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintAdds the workflow release context.voidcheckoutRepository(WorkflowReleaseContext context, Locale locale) Checkout repository.voidcreateDockerImage(WorkflowReleaseContext context, Locale locale) Create docker image.intgetIdWorkflow(WorkflowReleaseContext context) Gets the id workflow.getListWorkflowReleaseContextHistory(String strArtifactId) Gets the list workflow release context history.Gets the service.getWorkflowReleaseContext(int nIdContext) Gets the workflow release context.getWorkflowReleaseContextHistory(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.voidSave 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.
-
Constructor Details
-
WorkflowReleaseContextService
public WorkflowReleaseContextService()
-
-
Method Details
-
addWorkflowReleaseContext
Adds the workflow release context.- Specified by:
addWorkflowReleaseContextin interfaceIWorkflowReleaseContextService- Parameters:
context- the context- Returns:
- the int
-
getWorkflowReleaseContext
Gets the workflow release context.- Specified by:
getWorkflowReleaseContextin interfaceIWorkflowReleaseContextService- Parameters:
nIdContext- the n id context- Returns:
- the workflow release context
-
saveWorkflowReleaseContext
Save workflow release context.- Specified by:
saveWorkflowReleaseContextin interfaceIWorkflowReleaseContextService- Parameters:
context- the context
-
getWorkflowReleaseContextHistory
Gets the workflow release context history.- Parameters:
nIdContext- the n id context- Returns:
- the workflow release context history
-
getListWorkflowReleaseContextHistory
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
Gets the id workflow.- Specified by:
getIdWorkflowin interfaceIWorkflowReleaseContextService- Parameters:
context- the context- Returns:
- the id workflow
-
getService
Gets the service.- Returns:
- the service
-
mergeDevelopMaster
Merge develop master.- Specified by:
mergeDevelopMasterin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
releasePrepareComponent
Release prepare component.- Specified by:
releasePrepareComponentin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
releasePerformComponent
Release perform component.- Specified by:
releasePerformComponentin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
checkoutRepository
Checkout repository.- Specified by:
checkoutRepositoryin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
releasePrepareSite
Release prepare site.- Specified by:
releasePrepareSitein interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
sendTweet
Send tweet.- Specified by:
sendTweetin interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
updateJiraVersions
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
Start release in progress.- Specified by:
startReleaseInProgressin interfaceIWorkflowReleaseContextService- Parameters:
strArtifactId- the str artifact id
-
stopReleaseInProgress
Stop release in progress.- Specified by:
stopReleaseInProgressin interfaceIWorkflowReleaseContextService- Parameters:
strArtifactId- the str artifact id
-
isReleaseInProgress
Checks if is release in progress.- Specified by:
isReleaseInProgressin interfaceIWorkflowReleaseContextService- Parameters:
strArtifactId- the str artifact id- Returns:
- true, if is release in progress
-
releasePerformSite
Release perform site.- Specified by:
releasePerformSitein interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-
createDockerImage
Create docker image.- Specified by:
createDockerImagein interfaceIWorkflowReleaseContextService- Parameters:
context- the contextlocale- the locale
-