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.Gets the current dependencies.Returns the Description.Gets the group id.intgetId()Returns the Id.intReturns the IdCluster.Returns the JiraKey.Returns the Last Release Version.getName()Returns the Name.Returns the Next Release Version.Returns the NextSnapshotVersion.RBAC resource implementationRBAC resource implementationReturns the ScmUrl.Gets the tag information.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.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.voidsetJiraKey(String strJiraKey) Sets the JiraKey.voidsetLastReleaseVersion(String strLastReleaseVersion) Sets the Last Release Version.voidSets the Name.voidsetNextReleaseVersion(String strNextReleaseVersion) Sets the Next Release Version.voidsetNextSnapshotVersion(String strNextSnapshotVersion) Sets the NextSnapshotVersion.voidsetParentVersion(String _strParentVersion) voidsetPermissions(HashMap<String, Boolean> permissions) voidSets the ScmUrl.voidsetTagInformation(String _strTagInfotmation) Sets the tag information.voidsetTargetVersionIndex(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, getReleaseComment, getRepoType, resetComments
-
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
-
getJiraKey
Returns the JiraKey.- Returns:
- The JiraKey
-
setJiraKey
Sets the JiraKey.- Parameters:
strJiraKey- The JiraKey
-
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
-
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
-
getPermissions
-
setPermissions
-
getParentVersion
-
setParentVersion
-