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 Details

  • 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

      public String getArtifactId()
      Returns the ArtifactId.
      Specified by:
      getArtifactId in interface IReleaserResource
      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:
      getScmUrl in interface IReleaserResource
      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
    • getComponents

      public List<Component> getComponents()
      Gets the components.
      Returns:
      getComponents
    • 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
    • isCreateDckerImage

      public boolean isCreateDckerImage()
    • setCreateDckerImage

      public void setCreateDckerImage(boolean _bCreateDckerImage)
    • getBranches

      public List<String> getBranches()
    • setBranches

      public void setBranches(List<String> listBranches)
    • getTags

      public List<String> getTags()
    • setTags

      public void setTags(List<String> listTags)
    • getBranchReleaseFrom

      public String getBranchReleaseFrom()
    • setBranchReleaseFrom

      public void setBranchReleaseFrom(String _strBranchReleaseFrom)
    • getTargetVersion

      public String getTargetVersion()
      Gets the target version.
      Specified by:
      getTargetVersion in interface IReleaserResource
      Returns:
      the target version
    • getResourceTypeCode

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

      public String getResourceId()
      RBAC resource implementation
      Specified by:
      getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
      Returns:
      The resourceId
    • getPermissions

      public HashMap<String,Boolean> getPermissions()
    • setPermissions

      public void setPermissions(HashMap<String,Boolean> permissions)
    • getParentVersion

      public String getParentVersion()
    • setParentVersion

      public void setParentVersion(String _strParentVersion)