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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPERMISSION_DELETE_SITEstatic StringPERMISSION_MODIFY_SITEstatic StringPERMISSION_RELEASE_SITEstatic 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.StringgetArtifactId()Returns the ArtifactId.List<String>getBranches()StringgetBranchReleaseFrom()StringgetCluster()Returns the Cluster.List<Component>getComponents()Gets the components.List<Dependency>getCurrentDependencies()Gets the current dependencies.StringgetDescription()Returns the Description.StringgetGroupId()Gets the group id.intgetId()Returns the Id.intgetIdCluster()Returns the IdCluster.StringgetJiraKey()Returns the JiraKey.StringgetLastReleaseVersion()Returns the Last Release Version.StringgetName()Returns the Name.StringgetNextReleaseVersion()Returns the Next Release Version.StringgetNextSnapshotVersion()Returns the NextSnapshotVersion.HashMap<String,Boolean>getPermissions()StringgetResourceId()RBAC resource implementationStringgetResourceTypeCode()RBAC resource implementationStringgetScmUrl()Returns the ScmUrl.StringgetTagInformation()Gets the tag information.StringgetTargetVersion()Gets the target version.intgetTargetVersionIndex()Get the target version index.List<String>getTargetVersions()Gets the target versions list.StringgetVersion()Returns the Version.booleanisTheme()Checks if is theme.voidsetArtifactId(String strArtifactId)Sets the ArtifactId.voidsetBranches(List<String> listBranches)voidsetBranchReleaseFrom(String _strBranchReleaseFrom)voidsetCluster(String strCluster)Sets the Cluster.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.voidsetName(String strName)Sets the Name.voidsetNextReleaseVersion(String strNextReleaseVersion)Sets the Next Release Version.voidsetNextSnapshotVersion(String strNextSnapshotVersion)Sets the NextSnapshotVersion.voidsetPermissions(HashMap<String,Boolean> permissions)voidsetScmUrl(String strScmUrl)Sets 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 Detail
-
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
PERMISSION_RELEASE_SITE
public static final String PERMISSION_RELEASE_SITE
- See Also:
- Constant Field Values
-
PERMISSION_MODIFY_SITE
public static final String PERMISSION_MODIFY_SITE
- See Also:
- Constant Field Values
-
PERMISSION_DELETE_SITE
public static final 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 String getArtifactId()
Returns the ArtifactId.- Specified by:
getArtifactIdin interfaceIReleaserResource- Returns:
- The ArtifactId
-
setArtifactId
public void setArtifactId(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 String getScmUrl()
Returns the ScmUrl.- Specified by:
getScmUrlin interfaceIReleaserResource- Returns:
- The ScmUrl
-
setScmUrl
public void setScmUrl(String strScmUrl)
Sets the ScmUrl.- Parameters:
strScmUrl- The ScmUrl
-
getName
public String getName()
Returns the Name.- Returns:
- The Name
-
setName
public void setName(String strName)
Sets the Name.- Parameters:
strName- The Name
-
getDescription
public String getDescription()
Returns the Description.- Returns:
- The Description
-
setDescription
public void setDescription(String strDescription)
Sets the Description.- Parameters:
strDescription- The Description
-
getJiraKey
public String getJiraKey()
Returns the JiraKey.- Returns:
- The JiraKey
-
setJiraKey
public void setJiraKey(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 List<Dependency> getCurrentDependencies()
Gets the current dependencies.- Returns:
- getCurrentDependencies
-
addComponent
public void addComponent(Component component)
Adds the component.- Parameters:
component- the component
-
getVersion
public String getVersion()
Returns the Version.- Returns:
- The Version
-
setVersion
public void setVersion(String strVersion)
Sets the Version.- Parameters:
strVersion- The Version
-
getCluster
public String getCluster()
Returns the Cluster.- Returns:
- The Cluster
-
setCluster
public void setCluster(String strCluster)
Sets the Cluster.- Parameters:
strCluster- The Cluster
-
getLastReleaseVersion
public String getLastReleaseVersion()
Returns the Last Release Version.- Returns:
- The Release Version
-
setLastReleaseVersion
public void setLastReleaseVersion(String strLastReleaseVersion)
Sets the Last Release Version.- Parameters:
strLastReleaseVersion- The Release Version
-
getNextReleaseVersion
public String getNextReleaseVersion()
Returns the Next Release Version.- Returns:
- The Release Version
-
setNextReleaseVersion
public void setNextReleaseVersion(String strNextReleaseVersion)
Sets the Next Release Version.- Parameters:
strNextReleaseVersion- The Release Version
-
getNextSnapshotVersion
public String getNextSnapshotVersion()
Returns the NextSnapshotVersion.- Returns:
- The NextSnapshotVersion
-
setNextSnapshotVersion
public void setNextSnapshotVersion(String strNextSnapshotVersion)
Sets the NextSnapshotVersion.- Parameters:
strNextSnapshotVersion- The NextSnapshotVersion
-
setTargetVersions
public void setTargetVersions(List<String> listTargetVersions)
Set target versions list.- Parameters:
listTargetVersions- The target versions list
-
getTargetVersions
public List<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 String getTagInformation()
Gets the tag information.- Returns:
- getTagInformation
-
setTagInformation
public void setTagInformation(String _strTagInfotmation)
Sets the tag information.- Parameters:
_strTagInfotmation- the new tag information
-
getGroupId
public String getGroupId()
Gets the group id.- Returns:
- getGroupId
-
setGroupId
public void setGroupId(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
-
getBranchReleaseFrom
public String getBranchReleaseFrom()
-
setBranchReleaseFrom
public void setBranchReleaseFrom(String _strBranchReleaseFrom)
-
getTargetVersion
public String getTargetVersion()
Gets the target version.- Specified by:
getTargetVersionin interfaceIReleaserResource- Returns:
- the target version
-
getResourceTypeCode
public String getResourceTypeCode()
RBAC resource implementation- Specified by:
getResourceTypeCodein interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resource type code
-
getResourceId
public String getResourceId()
RBAC resource implementation- Specified by:
getResourceIdin interfacefr.paris.lutece.portal.service.rbac.RBACResource- Returns:
- The resourceId
-
-