Class NotifProjectState
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifProjectState
- All Implemented Interfaces:
Serializable
Represents the deployment state of a package file within an environment and instance for a
Partial Deployment project. For use within Notification Templates.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotifProjectState(Long pProjectId, String pNewVersionName, String pInstanceName, String pPackageName, String pObjectPath, String pCurrentVersionName, String pDeployedBy, Timestamp pDeployedOn, String pSubComponentType, String pSubComponentName, String pDestructive) Creates an instance of this object with the given state information. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the version which is currently deployed (e.g.Returns the user who deployed the current version of the file.Returns the formatted date and time the current version of the file was deployed (e.g.Returns the destructive flag if the object is marked for deletion.getId()Returns the internal identifier of the project.Returns the instance name the file is being deployed to.getName()Returns the name of the project.Returns the new version name being deployed (e.g.Returns the path of the package file.Returns the package name the current version was deployed from.Returns the subcomponent name for the object(Only apply for Salesforce).Returns the subcomponent type for the object(Only apply for Salesforce).
-
Constructor Details
-
NotifProjectState
public NotifProjectState(Long pProjectId, String pNewVersionName, String pInstanceName, String pPackageName, String pObjectPath, String pCurrentVersionName, String pDeployedBy, Timestamp pDeployedOn, String pSubComponentType, String pSubComponentName, String pDestructive) Creates an instance of this object with the given state information.- Parameters:
pProjectId- The internal identifier of the project.pNewVersionName- The new version name of the file being deployed.pInstanceName- The name of the instance the file is being deployed to.pPackageName- The name of the package the current version was deployed frompObjectPath- The path to the file being deployed.pCurrentVersionName- The name of the version which is currently deployed.pDeployedBy- Who deployed the current version of the file.pDeployedOn- When the current version of the file was deployed.
-
-
Method Details
-
getId
Returns the internal identifier of the project.- Returns:
- The internal identifier of the project.
-
getName
Returns the name of the project.- Returns:
- The name of the project.
-
getNewVersionName
Returns the new version name being deployed (e.g. 1.0.13).- Returns:
- The new version name being deployed.
-
getInstanceName
Returns the instance name the file is being deployed to.- Returns:
- The instance name the file is being deployed to.
-
getPackageName
Returns the package name the current version was deployed from.- Returns:
- The package name the current version was deployed from.
-
getObjectPath
Returns the path of the package file.- Returns:
- The path of the package file.
-
getCurrentVersionName
Returns the name of the version which is currently deployed (e.g. 1.0.12).- Returns:
- The name of the version which is currently deployed.
-
getDeployedBy
Returns the user who deployed the current version of the file.- Returns:
- The user who deployed the current version of the file.
-
getDeployedOn
Returns the formatted date and time the current version of the file was deployed (e.g. 07/04/2021 12:00 AM CST). Timezone will be that of the FlexDeploy server.- Returns:
- The date and time which the current version of the file was deployed.
-
getSubComponentType
Returns the subcomponent type for the object(Only apply for Salesforce).- Returns:
- The subcomponent type for the object.
-
getSubComponentName
Returns the subcomponent name for the object(Only apply for Salesforce).- Returns:
- The subcomponent name for the object.
-
getDestructive
Returns the destructive flag if the object is marked for deletion.- Returns:
- The destructive flag if the object is marked for deletion.
-