Class 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 Detail

      • 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
    • Constructor Detail

      • Site

        public Site()
    • 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:
        getArtifactId in interface IReleaserResource
        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:
        getScmUrl in interface IReleaserResource
        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
      • 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:
        getTargetVersion in interface IReleaserResource
        Returns:
        the target version
      • getResourceTypeCode

        public java.lang.String getResourceTypeCode()
        RBAC resource implementation
        Specified by:
        getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
        Returns:
        The resource type code
      • getResourceId

        public java.lang.String getResourceId()
        RBAC resource implementation
        Specified by:
        getResourceId in interface fr.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)