Class NotifProjectState

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

public class NotifProjectState extends BasePOJO
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 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 from
      pObjectPath - 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

      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.
    • getNewVersionName

      public String getNewVersionName()
      Returns the new version name being deployed (e.g. 1.0.13).
      Returns:
      The new version name being deployed.
    • getInstanceName

      public String getInstanceName()
      Returns the instance name the file is being deployed to.
      Returns:
      The instance name the file is being deployed to.
    • getPackageName

      public String getPackageName()
      Returns the package name the current version was deployed from.
      Returns:
      The package name the current version was deployed from.
    • getObjectPath

      public String getObjectPath()
      Returns the path of the package file.
      Returns:
      The path of the package file.
    • getCurrentVersionName

      public String 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

      public String getDeployedBy()
      Returns the user who deployed the current version of the file.
      Returns:
      The user who deployed the current version of the file.
    • getDeployedOn

      public String 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

      public String getSubComponentType()
      Returns the subcomponent type for the object(Only apply for Salesforce).
      Returns:
      The subcomponent type for the object.
    • getSubComponentName

      public String getSubComponentName()
      Returns the subcomponent name for the object(Only apply for Salesforce).
      Returns:
      The subcomponent name for the object.
    • getDestructive

      public String getDestructive()
      Returns the destructive flag if the object is marked for deletion.
      Returns:
      The destructive flag if the object is marked for deletion.