Class PlatformRelease
java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformRelease
- All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource,Serializable
public class PlatformRelease
extends Object
implements fr.paris.lutece.portal.service.rbac.RBACResource, Serializable
A platform release campaign : the release of the Lutece platform for one line (7 or 8) and one release type, driven step by step (global-pom,
site-pom, core, platform plugins, platform starters).
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the core version.intReturns the current step number.Returns the creation date.Returns the last update date.intgetId()Returns the id.getName()Returns the name.Returns the step 0 (test of the SNAPSHOT of the campaign), loaded with the steps but kept out of them.Returns the release type.Returns the status.getSteps()Returns the steps.Returns the name of the user who created the campaign.booleanTells whether the export of the plan has been verified.voidsetCoreMajor(int nCoreMajor) Sets the core version.voidsetCurrentStep(int nCurrentStep) Sets the current step number.voidsetDateCreation(Timestamp dateCreation) Sets the creation date.voidsetDateUpdate(Timestamp dateUpdate) Sets the last update date.voidsetExportVerified(boolean bExportVerified) Sets whether the export of the plan has been verified.voidsetId(int nId) Sets the id.voidSets the name.voidsetPrecheckStep(PlatformReleaseStep precheckStep) Sets the step 0.voidsetReleaseType(PlatformReleaseType releaseType) Sets the release type.voidsetStatus(PlatformReleaseStatus status) Sets the status.voidsetSteps(List<PlatformReleaseStep> listSteps) Sets the steps.voidsetUserName(String strUserName) Sets the name of the user who created the campaign.
-
Field Details
-
RESOURCE_TYPE
The RBAC resource type.- See Also:
-
PERMISSION_MANAGE
The RBAC permission : manage the campaigns (create, prepare and launch steps, export).- See Also:
-
-
Constructor Details
-
PlatformRelease
public PlatformRelease()
-
-
Method Details
-
getId
public int getId()Returns the id.- Returns:
- the id
-
setId
public void setId(int nId) Sets the id.- Parameters:
nId- the id
-
getName
Returns the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
strName- the name
-
getReleaseType
Returns the release type.- Returns:
- the release type
-
setReleaseType
Sets the release type.- Parameters:
releaseType- the release type
-
getCoreMajor
public int getCoreMajor()Returns the core version.- Returns:
- the major of lutece-core (7 or 8)
-
setCoreMajor
public void setCoreMajor(int nCoreMajor) Sets the core version.- Parameters:
nCoreMajor- the major of lutece-core (7 or 8)
-
getCurrentStep
public int getCurrentStep()Returns the current step number.- Returns:
- the current step number
-
setCurrentStep
public void setCurrentStep(int nCurrentStep) Sets the current step number.- Parameters:
nCurrentStep- the current step number
-
getStatus
Returns the status.- Returns:
- the status
-
setStatus
Sets the status.- Parameters:
status- the status
-
isExportVerified
public boolean isExportVerified()Tells whether the export of the plan has been verified.- Returns:
- true if verified
-
setExportVerified
public void setExportVerified(boolean bExportVerified) Sets whether the export of the plan has been verified.- Parameters:
bExportVerified- true if verified
-
getUserName
Returns the name of the user who created the campaign.- Returns:
- the user name
-
setUserName
Sets the name of the user who created the campaign.- Parameters:
strUserName- the user name
-
getDateCreation
Returns the creation date.- Returns:
- the creation date
-
setDateCreation
Sets the creation date.- Parameters:
dateCreation- the creation date
-
getDateUpdate
Returns the last update date.- Returns:
- the last update date
-
setDateUpdate
Sets the last update date.- Parameters:
dateUpdate- the last update date
-
getSteps
Returns the steps.- Returns:
- the steps, ordered by step number (empty until loaded)
-
setSteps
Sets the steps.- Parameters:
listSteps- the steps
-
getPrecheckStep
Returns the step 0 (test of the SNAPSHOT of the campaign), loaded with the steps but kept out of them.- Returns:
- the step 0, null until loaded or when never launched
-
setPrecheckStep
Sets the step 0.- Parameters:
precheckStep- the step 0
-
getResourceTypeCode
- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource
-
getResourceId
- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource
-