Class Site
java.lang.Object
fr.paris.lutece.plugins.releaser.business.AbstractReleaserResource
fr.paris.lutece.plugins.releaser.business.Site
- All Implemented Interfaces:
IReleaserResource,fr.paris.lutece.portal.service.rbac.RBACResource,Serializable
public class Site
extends AbstractReleaserResource
implements fr.paris.lutece.portal.service.rbac.RBACResource, Serializable
This is the business class for the object Site.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(Component component) Adds the component.voidaddCurrentDependency(Dependency dependency) Adds the current dependency.Returns the ArtifactId.Returns the Cluster.Gets the components.Returns the version of lutece-core referenced by the POM (a platform aggregate).Returns the decision about the lutece-core version referenced by the POM (platform step).Gets the current dependencies.Returns the Description.Gets the group id.intgetId()Returns the Id.intReturns the IdCluster.Returns the Last Release Version.Returns the modules declared by the POM (a platform aggregate : its starters and BOM).getName()Returns the Name.Returns the Next Release Version.Returns the NextSnapshotVersion.Returns the decision about the parent POM version referenced by the POM (platform step).RBAC resource implementationRBAC resource implementationReturns the ScmUrl.Gets the tag information.getTags()Gets the target version.intGet the target version index.Gets the target versions list.Returns the Version.booleanbooleanisTheme()Checks if is theme.voidsetArtifactId(String strArtifactId) Sets the ArtifactId.voidsetBranches(List<String> listBranches) voidsetBranchReleaseFrom(String _strBranchReleaseFrom) voidsetCluster(String strCluster) Sets the Cluster.voidsetCoreVersion(String strCoreVersion) Sets the version of lutece-core referenced by the POM.voidsetCoreVersionDecision(PomVersionDecision decision) Sets the decision about the lutece-core version.voidsetCreateDckerImage(boolean _bCreateDckerImage) voidsetDescription(String strDescription) Sets the Description.voidsetGroupId(String _strGroupId) Sets the group id.voidsetId(int nId) Sets the Id.voidsetIdCluster(int nIdCluster) Sets the IdCluster.voidsetLastReleaseVersion(String strLastReleaseVersion) Sets the Last Release Version.voidsetModules(List<String> listModules) Sets the modules declared by the POM.voidSets the Name.voidsetNextReleaseVersion(String strNextReleaseVersion) Sets the Next Release Version.voidsetNextSnapshotVersion(String strNextSnapshotVersion) Sets the NextSnapshotVersion.voidsetParentVersion(String _strParentVersion) voidsetParentVersionDecision(PomVersionDecision decision) Sets the decision about the parent POM version.voidsetPermissions(HashMap<String, Boolean> permissions) voidSets the ScmUrl.voidsetTagInformation(String _strTagInfotmation) Sets the tag information.voidvoidsetTargetVersionIndex(int nIndex) Set the target version index.voidsetTargetVersions(List<String> listTargetVersions) Set target versions list.voidsetTheme(boolean _bTheme) Sets the theme.voidsetVersion(String strVersion) Sets the Version.Methods inherited from class fr.paris.lutece.plugins.releaser.business.AbstractReleaserResource
addReleaseComment, getBlockingReleaseComment, getLatestPomParentVersion, getPomParentArtifactId, getPomParentGroupId, getPomParentVersion, getReleaseComment, getReleaseComments, getRepoType, getTargetPomParentVersion, resetComments, setBlockingReleaseComment, setLatestPomParentVersion, setPomParentArtifactId, setPomParentGroupId, setPomParentVersion, setTargetPomParentVersion
-
Field Details
-
RESOURCE_TYPE
- See Also:
-
PERMISSION_RELEASE_SITE
- See Also:
-
PERMISSION_MODIFY_SITE
- See Also:
-
PERMISSION_DELETE_SITE
- See Also:
-
-
Constructor Details
-
Site
public Site()
-
-
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
-
getArtifactId
Returns the ArtifactId.- Specified by:
getArtifactIdin interfaceIReleaserResource- Returns:
- The ArtifactId
-
setArtifactId
Sets the ArtifactId.- Parameters:
strArtifactId- The ArtifactId
-
getIdCluster
public int getIdCluster()Returns the IdCluster.- Returns:
- The IdCluster
-
setIdCluster
public void setIdCluster(int nIdCluster) Sets the IdCluster.- Parameters:
nIdCluster- The IdCluster
-
getScmUrl
Returns the ScmUrl.- Specified by:
getScmUrlin interfaceIReleaserResource- Returns:
- The ScmUrl
-
setScmUrl
Sets the ScmUrl.- Parameters:
strScmUrl- The ScmUrl
-
getName
Returns the Name.- Returns:
- The Name
-
setName
Sets the Name.- Parameters:
strName- The Name
-
getDescription
Returns the Description.- Returns:
- The Description
-
setDescription
Sets the Description.- Parameters:
strDescription- The Description
-
addCurrentDependency
Adds the current dependency.- Parameters:
dependency- the dependency
-
getCurrentDependencies
Gets the current dependencies.- Returns:
- getCurrentDependencies
-
addComponent
Adds the component.- Parameters:
component- the component
-
getComponents
Gets the components.- Returns:
- getComponents
-
getVersion
Returns the Version.- Returns:
- The Version
-
setVersion
Sets the Version.- Parameters:
strVersion- The Version
-
getCluster
Returns the Cluster.- Returns:
- The Cluster
-
setCluster
Sets the Cluster.- Parameters:
strCluster- The Cluster
-
getLastReleaseVersion
Returns the Last Release Version.- Returns:
- The Release Version
-
setLastReleaseVersion
Sets the Last Release Version.- Parameters:
strLastReleaseVersion- The Release Version
-
getNextReleaseVersion
Returns the Next Release Version.- Returns:
- The Release Version
-
setNextReleaseVersion
Sets the Next Release Version.- Parameters:
strNextReleaseVersion- The Release Version
-
getNextSnapshotVersion
Returns the NextSnapshotVersion.- Returns:
- The NextSnapshotVersion
-
setNextSnapshotVersion
Sets the NextSnapshotVersion.- Parameters:
strNextSnapshotVersion- The NextSnapshotVersion
-
setTargetVersions
Set target versions list.- Parameters:
listTargetVersions- The target versions list
-
getTargetVersions
Gets the target versions list.- Returns:
- the target versions list
-
setTargetVersionIndex
public void setTargetVersionIndex(int nIndex) Set the target version index.- Parameters:
nIndex- the target version index
-
getTargetVersionIndex
public int getTargetVersionIndex()Get the target version index.- Returns:
- the target version index
-
getTagInformation
Gets the tag information.- Returns:
- getTagInformation
-
setTagInformation
Sets the tag information.- Parameters:
_strTagInfotmation- the new tag information
-
getGroupId
Gets the group id.- Returns:
- getGroupId
-
setGroupId
Sets the group id.- Parameters:
_strGroupId- the new group id
-
isTheme
public boolean isTheme()Checks if is theme.- Returns:
- isTheme
-
setTheme
public void setTheme(boolean _bTheme) Sets the theme.- Parameters:
_bTheme- the new theme
-
isCreateDckerImage
public boolean isCreateDckerImage() -
setCreateDckerImage
public void setCreateDckerImage(boolean _bCreateDckerImage) -
getBranches
-
setBranches
-
getTags
-
setTags
-
getBranchReleaseFrom
-
setBranchReleaseFrom
-
getTargetVersion
Gets the target version.- Specified by:
getTargetVersionin interfaceIReleaserResource- Returns:
- the target version
-
getResourceTypeCode
RBAC resource implementation- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resource type code
-
getResourceId
RBAC resource implementation- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resourceId
-
getModules
Returns the modules declared by the POM (a platform aggregate : its starters and BOM).- Returns:
- the modules, null when the POM was not parsed
-
setModules
Sets the modules declared by the POM.- Parameters:
listModules- the modules
-
getCoreVersion
Returns the version of lutece-core referenced by the POM (a platform aggregate).- Returns:
- the core version, null when the POM does not reference it
-
setCoreVersion
Sets the version of lutece-core referenced by the POM.- Parameters:
strCoreVersion- the core version
-
getCoreVersionDecision
Returns the decision about the lutece-core version referenced by the POM (platform step).- Returns:
- the decision, null when not checked
-
setCoreVersionDecision
Sets the decision about the lutece-core version.- Parameters:
decision- the decision
-
getParentVersionDecision
Returns the decision about the parent POM version referenced by the POM (platform step).- Returns:
- the decision, null when not checked
-
setParentVersionDecision
Sets the decision about the parent POM version.- Parameters:
decision- the decision
-
getPermissions
-
setPermissions
-
getParentVersion
-
setParentVersion
-