Class NotifSnapshotVersion
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifSnapshotVersion
- All Implemented Interfaces:
Serializable
Represents the version of the project/package contained within the release snapshot. For use
within Notification Templates.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotifSnapshotVersion(RelSnapshotVersionDataObject pDataObject) Creates an instance of this object with the given state information. -
Method Summary
Modifier and TypeMethodDescriptionReturns the user who created the release snapshot version.Returns the full name of the user who created the release snapshot version.Returns the username(full name) of the user who created the release snapshot version.Returns the date and time of when the release snapshot version was created.booleanWhether this snapshot version has duplicate files with another snapshot version in the same snapshot.Returns the error message for the snapshot version if the status is FAILED.Returns the name of the package for the snapshot version.Returns the internal identifier of the project for the snapshot version.Returns the name of the project for the snapshot version.Returns the project version tied to this snapshot version.Returns the status of the release snapshot version (PENDING, COMPLETED, FAILED, EXISTING).Returns the stream associated with the snapshot version.booleanReturns whether the snapshot version project is a partial deployment project.booleanReturns whether "all files" is selected for the project in the snapshot version.
-
Constructor Details
-
NotifSnapshotVersion
Creates an instance of this object with the given state information.- Parameters:
pDataObject- The release snapshot version data.
-
-
Method Details
-
getProjectId
Returns the internal identifier of the project for the snapshot version.- Returns:
- The internal identifier of the project for the snapshot version.
-
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
Returns the stream associated with the snapshot version.- Returns:
- The stream associated with the snapshot version.
- Throws:
SQLException
-
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
Returns the status of the release snapshot version (PENDING, COMPLETED, FAILED, EXISTING).- Returns:
- The status of the release snapshot version.
-
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
Returns the user who created the release snapshot version.- Returns:
- The user who created the release snapshot version.
-
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
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
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
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.
-