Class NotifProjectVersion
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifProjectVersion
- All Implemented Interfaces:
Serializable
Represents a versioned project build. For use within Notification Templates.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotifProjectVersion(ProjectVersionDataObject pDataObject) Creates an instance of this object with the given state information. -
Method Summary
Modifier and TypeMethodDescriptionReturns the user who created the project version.Returns the full name of the user who created the project version.Returns the username(full name) of the user who created project version.Returns the date and time of when the project version was created.getId()Returns the internal identifier of the project version.booleanReturns whether the project version is active.getName()Returns the name of the project version (e.g.Returns the name of the build package.Returns the id of the stream which is used to perfrom the build.Returns the list of package files contained in the build for this project version.Returns the SCM revision associated with the build for this project version.Returns the user who last updated the project version.Returns the date and time of when the project version was last updated.booleanReturns whether the artifacts for the project version have been purged.booleanReturns whether the build represented by the project version is successful.Returns whether the build version is for "all files" in the project.
-
Constructor Details
-
NotifProjectVersion
Creates an instance of this object with the given state information.- Parameters:
pDataObject- The project version data.
-
-
Method Details
-
getId
Returns the internal identifier of the project version.- Returns:
- The internal identifier of the project version.
-
getName
Returns the name of the project version (e.g. 1.0.15).- Returns:
- The name of the project version.
-
getPackageName
Returns the name of the build package. Only applicable for Partial Deployment projects.- Returns:
- The name of the build package.
-
getProjectStreamId
Returns the id of the stream which is used to perfrom the build.- Returns:
- The id of the stream which is used to perfrom the build.
-
isRequestAllFiles
Returns whether the build version is for "all files" in the project. Only applicable for Partial Deployment projects.- Returns:
- Whether the build version is for "all files" in the project.
-
isArtifactsPurged
public boolean isArtifactsPurged()Returns whether the artifacts for the project version have been purged.- Returns:
- Whether the artifacts for the project version have been purged.
-
isBuildSuccessful
public boolean isBuildSuccessful()Returns whether the build represented by the project version is successful.- Returns:
- Whether the build represented by the project version is successful.
-
getIsActive
public boolean getIsActive()Returns whether the project version is active.- Returns:
- Whether the project version is active.
-
getInactivatedBy
-
getInactivatedOn
-
getInactivatedReason
-
getScmRevision
Returns the SCM revision associated with the build for this project version. Will be null for SCM type "NONE".- Returns:
- The SCM revision associated with the build for this project version.
-
getCreatedOn
Returns the date and time of when the project version was created.- Returns:
- The date and time of when the project version was created.
-
getCreatedBy
Returns the user who created the project version.- Returns:
- The user who created the project version.
-
getCreatedByFullName
Returns the full name of the user who created the project version.- Returns:
- The full name of the user who created the project version.
-
getCreatedByUserAndFullName
Returns the username(full name) of the user who created project version.- Returns:
- Returns the username(full name) of the user who created project version.
-
getUpdatedOn
Returns the date and time of when the project version was last updated.- Returns:
- The date and time of when the project version was last updated.
-
getUpdatedBy
Returns the user who last updated the project version.- Returns:
- The user who last updated the project version.
-
getProjectVersionFiles
Returns the list of package files contained in the build for this project version. Only applicable for Partial Deployment projects. Will return an empty list if not a Partial Deployment project.- Returns:
- The list of package files contained in the build for this project version.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-