Class NotifPipelineStageExecInfo
java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifPipelineStageExecInfo
- All Implemented Interfaces:
Serializable
Represents the Execution Info of a pipeline stage execution. For use within Notification
Templates.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotifPipelineStageExecInfo(Long pPipelineStageExecId) Creates the Execution Info for the give pipeline stage execution id. -
Method Summary
Modifier and TypeMethodDescriptiongetDeployOverride(Long pProjectId) Returns the enum display name of the deploy override selection (No Override, Force, Skip) for the given project.getDeployOverride(Long pProjectId, String pPackageName) Returns the enum display name of the deploy override selection (No Override, Force, Skip) for the given project and package.getDeployOverrideCode(Long pProjectId, String pPackageName) Returns the enum name of the deploy override selection (NOOVERRIDE, FORCE, SKIP) for the given project and package.getDeployOverrideEnum(Long pProjectId) Returns the enum of the deploy override selection (NOOVERRIDE, FORCE, SKIP) for the given project.getDeployOverrideEnum(Long pProjectId, String pPackageName) Returns the enum of the deploy override selection (NOOVERRIDE, FORCE, SKIP) for the given project and package.getInstanceOverride(Long pProjectId, String pPackageName) Returns a list of override instances set for the given project and package.getIntanceOverrides(Long pProjectId) Returns a list of override instances set for the given project.Returns the stage level Related Ticket.getRelatedTicket(Long pProjectId) Returns the project level Related Ticket.getRelatedTicket(Long pProjectId, String pPackageName) Returns the package level Related Ticket.booleanisForceDeploy(Long pProjectId) Returns whether the given project is set to "Force" deploy.booleanisForceDeploy(Long pProjectId, String pPackageName) Returns whether the given project and package is set to "Force" deploy.booleanisNoOverrideDeploy(Long pProjectId) Returns whether the given project is set to "No Override" for deployment.booleanisNoOverrideDeploy(Long pProjectId, String pPackageName) Returns whether the given project and package is set to "No Override" for deployment.booleanisSkipDeploy(Long pProjectId) Returns whether the given project is set to "Skip" deploy.booleanisSkipDeploy(Long pProjectId, String pPackageName) Returns whether the given project and package is set to "Skip" deploy.
-
Constructor Details
-
NotifPipelineStageExecInfo
Creates the Execution Info for the give pipeline stage execution id.- Parameters:
pPipelineStageExecId- The internal id of the pipeline stage execution.
-
-
Method Details
-
getRelatedTicket
Returns the stage level Related Ticket. If no related ticket is defined, empty String will be returned.- Returns:
- The stage level Related Ticket.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getRelatedTicket
Returns the project level Related Ticket. If no related ticket is defined, the stage level related ticket will be returned.- Returns:
- The project level Related Ticket.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getRelatedTicket
Returns the package level Related Ticket. If no related ticket is defined, the stage level related ticket will be returned.- Returns:
- The package level Related Ticket.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getDeployOverrideEnum
Returns the enum of the deploy override selection (NOOVERRIDE, FORCE, SKIP) for the given project.- Parameters:
pProjectId- The id of the project to check for override.- Returns:
- The override selection for the given project id.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getDeployOverride
Returns the enum display name of the deploy override selection (No Override, Force, Skip) for the given project.- Parameters:
pProjectId- The id of the project to check for override.- Returns:
- The override selection for the given project id.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getDeployOverrideCode
Returns the enum name of the deploy override selection (NOOVERRIDE, FORCE, SKIP) for the given project and package.- Parameters:
pProjectId- The id of the project to check for override.pPackageName- The name of the package to check override for.- Returns:
- The override selection for the given project id and package name.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getDeployOverrideEnum
public DeploymentOverridesEnum getDeployOverrideEnum(Long pProjectId, String pPackageName) throws SQLException Returns the enum of the deploy override selection (NOOVERRIDE, FORCE, SKIP) for the given project and package.- Parameters:
pProjectId- The id of the project to check for override.pPackageName- The name of the package to check for override.- Returns:
- The override selection for the given project id and package name.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getDeployOverride
Returns the enum display name of the deploy override selection (No Override, Force, Skip) for the given project and package.- Parameters:
pProjectId- The id of the project to check for override.pPackageName- The name of the package to check for override.- Returns:
- The override selection for the given project id and package name.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
isForceDeploy
Returns whether the given project is set to "Force" deploy.- Parameters:
pProjectId- The project id to check.- Returns:
- Whether the project is set to force deploy.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
isForceDeploy
Returns whether the given project and package is set to "Force" deploy.- Parameters:
pProjectId- The project id to check.pPackageName- The package name to check.- Returns:
- Whether the project and package is set to force deploy.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
isSkipDeploy
Returns whether the given project is set to "Skip" deploy.- Parameters:
pProjectId- The project id to check.- Returns:
- Whether the project is set to force deploy.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
isSkipDeploy
Returns whether the given project and package is set to "Skip" deploy.- Parameters:
pProjectId- The project id to check.pPackageName- The package name to check.- Returns:
- Whether the project and package is set to skip deploy.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
isNoOverrideDeploy
Returns whether the given project is set to "No Override" for deployment.- Parameters:
pProjectId- The project id to check.- Returns:
- Whether the project is set to no override.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
isNoOverrideDeploy
Returns whether the given project and package is set to "No Override" for deployment.- Parameters:
pProjectId- The project id to check.pPackageName- The package name to check.- Returns:
- Whether the project and package is set to no override.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getIntanceOverrides
Returns a list of override instances set for the given project.- Parameters:
pProjectId- The id of the project to check.- Returns:
- A list of override instances for the project.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-
getInstanceOverride
public List<NotifInstance> getInstanceOverride(Long pProjectId, String pPackageName) throws SQLException Returns a list of override instances set for the given project and package.- Parameters:
pProjectId- The project id to check.pPackageName- The package name to check.- Returns:
- A list of override instances for the project and package.
- Throws:
SQLException- If the information cannot be retrieved from the database.
-