Class NotifSnapshotVersion

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

public class NotifSnapshotVersion extends BasePOJO
Represents the version of the project/package contained within the release snapshot. For use within Notification Templates.
See Also:
  • Constructor Details

    • NotifSnapshotVersion

      public NotifSnapshotVersion(RelSnapshotVersionDataObject pDataObject)
      Creates an instance of this object with the given state information.
      Parameters:
      pDataObject - The release snapshot version data.
  • Method Details

    • getProjectId

      public Long getProjectId()
      Returns the internal identifier of the project for the snapshot version.
      Returns:
      The internal identifier of the project for the snapshot version.
    • getProjectName

      public String getProjectName()
      Returns the name of the project for the snapshot version.
      Returns:
      The name of the project for the snapshot version.
    • isPartialDeployment

      public boolean isPartialDeployment()
      Returns whether the snapshot version project is a partial deployment project.
      Returns:
      Whether the snapshot version project is a partial deployment project.
    • getStream

      public NotifStream getStream() throws SQLException
      Returns the stream associated with the snapshot version.
      Returns:
      The stream associated with the snapshot version.
      Throws:
      SQLException
    • getPackageName

      public String getPackageName()
      Returns the name of the package for the snapshot version. Applicable to partial deployment projects only. Will return null if not a partial deployment project.
      Returns:
      The name of the package for the snapshot version.
    • isRequestAllFiles

      public boolean isRequestAllFiles()
      Returns whether "all files" is selected for the project in the snapshot version. Applicable only for Partial Deployment projects. Will always return true if not a Partial Deployment project.
      Returns:
      Whether "all files" is selected for the project in the snapshot version
    • getStatus

      public String getStatus()
      Returns the status of the release snapshot version (PENDING, COMPLETED, FAILED, EXISTING).
      Returns:
      The status of the release snapshot version.
    • getCreatedOn

      public Timestamp getCreatedOn()
      Returns the date and time of when the release snapshot version was created.
      Returns:
      The date and time of when the release snapshot version was created.
    • getCreatedBy

      public String getCreatedBy()
      Returns the user who created the release snapshot version.
      Returns:
      The user who created the release snapshot version.
    • getCreatedByFullName

      public String getCreatedByFullName()
      Returns the full name of the user who created the release snapshot version.
      Returns:
      The full name of the user who created the release snapshot version.
    • getCreatedByUserAndFullName

      public String getCreatedByUserAndFullName()
      Returns the username(full name) of the user who created the release snapshot version.
      Returns:
      Returns the username(full name) of the user who created the release snapshot version.
    • getProjectVersion

      public NotifProjectVersion getProjectVersion() throws SQLException
      Returns the project version tied to this snapshot version.
      Returns:
      The project version tied to this snapshot version.
      Throws:
      SQLException
    • getDuplicateFilesFlag

      public boolean getDuplicateFilesFlag()
      Whether this snapshot version has duplicate files with another snapshot version in the same snapshot.
      Returns:
      Returns Whether this snapshot version has duplicate files with another snapshot version in the same snapshot.
    • getErrorMessage

      public String getErrorMessage()
      Returns the error message for the snapshot version if the status is FAILED. If the status is not FAILED, null is returned.
      Returns:
      Returns the error message for the snapshot version if the status is FAILED.