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,java.io.Serializable
public class Site extends AbstractReleaserResource implements fr.paris.lutece.portal.service.rbac.RBACResource, java.io.Serializable
This is the business class for the object Site.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPERMISSION_DELETE_SITEstatic java.lang.StringPERMISSION_MODIFY_SITEstatic java.lang.StringPERMISSION_RELEASE_SITEstatic java.lang.StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description Site()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddComponent(Component component)Adds the component.voidaddCurrentDependency(Dependency dependency)Adds the current dependency.java.lang.StringgetArtifactId()Returns the ArtifactId.java.util.List<java.lang.String>getBranches()java.lang.StringgetBranchReleaseFrom()java.lang.StringgetCluster()Returns the Cluster.java.util.List<Component>getComponents()Gets the components.java.util.List<Dependency>getCurrentDependencies()Gets the current dependencies.java.lang.StringgetDescription()Returns the Description.java.lang.StringgetGroupId()Gets the group id.intgetId()Returns the Id.intgetIdCluster()Returns the IdCluster.java.lang.StringgetJiraKey()Returns the JiraKey.java.lang.StringgetLastReleaseVersion()Returns the Last Release Version.java.lang.StringgetName()Returns the Name.java.lang.StringgetNextReleaseVersion()Returns the Next Release Version.java.lang.StringgetNextSnapshotVersion()Returns the NextSnapshotVersion.java.lang.StringgetParentVersion()java.util.HashMap<java.lang.String,java.lang.Boolean>getPermissions()java.lang.StringgetResourceId()RBAC resource implementationjava.lang.StringgetResourceTypeCode()RBAC resource implementationjava.lang.StringgetScmUrl()Returns the ScmUrl.java.lang.StringgetTagInformation()Gets the tag information.java.lang.StringgetTargetVersion()Gets the target version.intgetTargetVersionIndex()Get the target version index.java.util.List<java.lang.String>getTargetVersions()Gets the target versions list.java.lang.StringgetVersion()Returns the Version.booleanisCreateDckerImage()booleanisTheme()Checks if is theme.voidsetArtifactId(java.lang.String strArtifactId)Sets the ArtifactId.voidsetBranches(java.util.List<java.lang.String> listBranches)voidsetBranchReleaseFrom(java.lang.String _strBranchReleaseFrom)voidsetCluster(java.lang.String strCluster)Sets the Cluster.voidsetCreateDckerImage(boolean _bCreateDckerImage)voidsetDescription(java.lang.String strDescription)Sets the Description.voidsetGroupId(java.lang.String _strGroupId)Sets the group id.voidsetId(int nId)Sets the Id.voidsetIdCluster(int nIdCluster)Sets the IdCluster.voidsetJiraKey(java.lang.String strJiraKey)Sets the JiraKey.voidsetLastReleaseVersion(java.lang.String strLastReleaseVersion)Sets the Last Release Version.voidsetName(java.lang.String strName)Sets the Name.voidsetNextReleaseVersion(java.lang.String strNextReleaseVersion)Sets the Next Release Version.voidsetNextSnapshotVersion(java.lang.String strNextSnapshotVersion)Sets the NextSnapshotVersion.voidsetParentVersion(java.lang.String _strParentVersion)voidsetPermissions(java.util.HashMap<java.lang.String,java.lang.Boolean> permissions)voidsetScmUrl(java.lang.String strScmUrl)Sets the ScmUrl.voidsetTagInformation(java.lang.String _strTagInfotmation)Sets the tag information.voidsetTargetVersionIndex(int nIndex)Set the target version index.voidsetTargetVersions(java.util.List<java.lang.String> listTargetVersions)Set target versions list.voidsetTheme(boolean _bTheme)Sets the theme.voidsetVersion(java.lang.String strVersion)Sets the Version.-
Methods inherited from class fr.paris.lutece.plugins.releaser.business.AbstractReleaserResource
addReleaseComment, getReleaseComment, getRepoType, resetComments
-
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final java.lang.String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
PERMISSION_RELEASE_SITE
public static final java.lang.String PERMISSION_RELEASE_SITE
- See Also:
- Constant Field Values
-
PERMISSION_MODIFY_SITE
public static final java.lang.String PERMISSION_MODIFY_SITE
- See Also:
- Constant Field Values
-
PERMISSION_DELETE_SITE
public static final java.lang.String PERMISSION_DELETE_SITE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public int getId()
Returns the Id.- Returns:
- The Id
-
setId
public void setId(int nId)
Sets the Id.- Parameters:
nId- The Id
-
getArtifactId
public java.lang.String getArtifactId()
Returns the ArtifactId.- Specified by:
getArtifactIdin interfaceIReleaserResource- Returns:
- The ArtifactId
-
setArtifactId
public void setArtifactId(java.lang.String strArtifactId)
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
public java.lang.String getScmUrl()
Returns the ScmUrl.- Specified by:
getScmUrlin interfaceIReleaserResource- Returns:
- The ScmUrl
-
setScmUrl
public void setScmUrl(java.lang.String strScmUrl)
Sets the ScmUrl.- Parameters:
strScmUrl- The ScmUrl
-
getName
public java.lang.String getName()
Returns the Name.- Returns:
- The Name
-
setName
public void setName(java.lang.String strName)
Sets the Name.- Parameters:
strName- The Name
-
getDescription
public java.lang.String getDescription()
Returns the Description.- Returns:
- The Description
-
setDescription
public void setDescription(java.lang.String strDescription)
Sets the Description.- Parameters:
strDescription- The Description
-
getJiraKey
public java.lang.String getJiraKey()
Returns the JiraKey.- Returns:
- The JiraKey
-
setJiraKey
public void setJiraKey(java.lang.String strJiraKey)
Sets the JiraKey.- Parameters:
strJiraKey- The JiraKey
-
addCurrentDependency
public void addCurrentDependency(Dependency dependency)
Adds the current dependency.- Parameters:
dependency- the dependency
-
getCurrentDependencies
public java.util.List<Dependency> getCurrentDependencies()
Gets the current dependencies.- Returns:
- getCurrentDependencies
-
addComponent
public void addComponent(Component component)
Adds the component.- Parameters:
component- the component
-
getComponents
public java.util.List<Component> getComponents()
Gets the components.- Returns:
- getComponents
-
getVersion
public java.lang.String getVersion()
Returns the Version.- Returns:
- The Version
-
setVersion
public void setVersion(java.lang.String strVersion)
Sets the Version.- Parameters:
strVersion- The Version
-
getCluster
public java.lang.String getCluster()
Returns the Cluster.- Returns:
- The Cluster
-
setCluster
public void setCluster(java.lang.String strCluster)
Sets the Cluster.- Parameters:
strCluster- The Cluster
-
getLastReleaseVersion
public java.lang.String getLastReleaseVersion()
Returns the Last Release Version.- Returns:
- The Release Version
-
setLastReleaseVersion
public void setLastReleaseVersion(java.lang.String strLastReleaseVersion)
Sets the Last Release Version.- Parameters:
strLastReleaseVersion- The Release Version
-
getNextReleaseVersion
public java.lang.String getNextReleaseVersion()
Returns the Next Release Version.- Returns:
- The Release Version
-
setNextReleaseVersion
public void setNextReleaseVersion(java.lang.String strNextReleaseVersion)
Sets the Next Release Version.- Parameters:
strNextReleaseVersion- The Release Version
-
getNextSnapshotVersion
public java.lang.String getNextSnapshotVersion()
Returns the NextSnapshotVersion.- Returns:
- The NextSnapshotVersion
-
setNextSnapshotVersion
public void setNextSnapshotVersion(java.lang.String strNextSnapshotVersion)
Sets the NextSnapshotVersion.- Parameters:
strNextSnapshotVersion- The NextSnapshotVersion
-
setTargetVersions
public void setTargetVersions(java.util.List<java.lang.String> listTargetVersions)
Set target versions list.- Parameters:
listTargetVersions- The target versions list
-
getTargetVersions
public java.util.List<java.lang.String> 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
public java.lang.String getTagInformation()
Gets the tag information.- Returns:
- getTagInformation
-
setTagInformation
public void setTagInformation(java.lang.String _strTagInfotmation)
Sets the tag information.- Parameters:
_strTagInfotmation- the new tag information
-
getGroupId
public java.lang.String getGroupId()
Gets the group id.- Returns:
- getGroupId
-
setGroupId
public void setGroupId(java.lang.String _strGroupId)
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
public java.util.List<java.lang.String> getBranches()
-
setBranches
public void setBranches(java.util.List<java.lang.String> listBranches)
-
getBranchReleaseFrom
public java.lang.String getBranchReleaseFrom()
-
setBranchReleaseFrom
public void setBranchReleaseFrom(java.lang.String _strBranchReleaseFrom)
-
getTargetVersion
public java.lang.String getTargetVersion()
Gets the target version.- Specified by:
getTargetVersionin interfaceIReleaserResource- Returns:
- the target version
-
getResourceTypeCode
public java.lang.String getResourceTypeCode()
RBAC resource implementation- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resource type code
-
getResourceId
public java.lang.String getResourceId()
RBAC resource implementation- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resourceId
-
getPermissions
public java.util.HashMap<java.lang.String,java.lang.Boolean> getPermissions()
-
setPermissions
public void setPermissions(java.util.HashMap<java.lang.String,java.lang.Boolean> permissions)
-
getParentVersion
public java.lang.String getParentVersion()
-
setParentVersion
public void setParentVersion(java.lang.String _strParentVersion)
-
-