Class NotifProject

java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifProject
All Implemented Interfaces:
Serializable

public class NotifProject extends BasePOJO
Represents a FlexDeploy project. For use within Notification Templates.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    NotifProject(CachedProjectSummary pCachedProjectSummary, NotifFolder pParent)
    Create an instance of this object from the information stored in the database.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether this Project is active.
    Returns the internal identifier of the Project.
    Returns the name of the Project.
    Returns the package build type configured for this project (ALL, PACKAGE, BOTH).
    Returns the parent Folder for this project, which represents the project's Application.
    Returns the qualified path of this Project (e.g.
    Returns the type of this project.
    Returns the name of SCM type configured for this project (SVN, GIT, CVS, TFVC, PERF, PVCS, FILE, OIC, NONE).
    Returns the FlexDeploy UI relative URL for the projects page, which can be used to provide hyperlinks.
    boolean
    Returns whether this project is a Container project.
    boolean
    Returns whether this project is a Partial Deployment project.

    Methods inherited from class flexagon.ff.common.core.pojos.BasePOJO

    areEqual, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NotifProject

      public NotifProject(CachedProjectSummary pCachedProjectSummary, NotifFolder pParent)
      Create an instance of this object from the information stored in the database.
      Parameters:
      pCachedProjectSummary - The data from the database.
      pParent - The parent folder.
  • Method Details

    • getId

      public Long getId()
      Returns the internal identifier of the Project.
      Returns:
      The internal identifier of the Project.
    • getName

      public String getName()
      Returns the name of the Project.
      Returns:
      The name of the Project.
    • isPartialDeployment

      public boolean isPartialDeployment()
      Returns whether this project is a Partial Deployment project.
      Returns:
      Whether this project is a Partial Deployment project.
    • isContainerProject

      public boolean isContainerProject()
      Returns whether this project is a Container project.
      Returns:
      Whether this project is a Container project.
    • getPath

      public String getPath()
      Returns the qualified path of this Project (e.g. /FlexDeploy/MyApplication/MyProject).
      Returns:
      The qualified path of this Project.
    • getParent

      public NotifFolder getParent()
      Returns the parent Folder for this project, which represents the project's Application.
      Returns:
      The parent Folder for tis project.
    • getUrlPath

      public String getUrlPath()
      Returns the FlexDeploy UI relative URL for the projects page, which can be used to provide hyperlinks.
      Returns:
      The FlexDeploy UI relative URL for the projects page.
    • getActive

      public boolean getActive()
      Returns whether this Project is active.
      Returns:
      Whether this Project is active.
    • getProjectType

      public String getProjectType()
      Returns the type of this project.
      Returns:
      The type of this project. For many projects the type will be null, as this is used only for package-based deployment projects.
    • getScmType

      public String getScmType()
      Returns the name of SCM type configured for this project (SVN, GIT, CVS, TFVC, PERF, PVCS, FILE, OIC, NONE).
      Returns:
      The name of SCM type configured for this project.
    • getPackageBuildType

      public String getPackageBuildType()
      Returns the package build type configured for this project (ALL, PACKAGE, BOTH). Returns BOTH for all Full Deployment projects.
      Returns:
      The package build type configured for this project.