public class NotifPipelineStageExecInfo extends BasePOJO
Constructor and Description |
---|
NotifPipelineStageExecInfo(java.lang.Long pPipelineStageExecId)
Creates the Execution Info for the give pipeline stage execution id.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeployOverride(java.lang.Long pProjectId)
Returns the enum display name of the deploy override selection (No Override, Force, Skip) for
the given project.
|
java.lang.String |
getDeployOverride(java.lang.Long pProjectId,
java.lang.String pPackageName)
Returns the enum display name of the deploy override selection (No Override, Force, Skip) for
the given project and package.
|
java.lang.String |
getDeployOverrideCode(java.lang.Long pProjectId,
java.lang.String pPackageName)
Returns the enum name of the deploy override selection (NOOVERRIDE, FORCE, SKIP) for the given
project and package.
|
DeploymentOverridesEnum |
getDeployOverrideEnum(java.lang.Long pProjectId)
Returns the enum of the deploy override selection (NOOVERRIDE, FORCE, SKIP) for the given
project.
|
DeploymentOverridesEnum |
getDeployOverrideEnum(java.lang.Long pProjectId,
java.lang.String pPackageName)
Returns the enum of the deploy override selection (NOOVERRIDE, FORCE, SKIP) for the given
project and package.
|
java.util.List<NotifInstance> |
getInstanceOverride(java.lang.Long pProjectId,
java.lang.String pPackageName)
Returns a list of override instances set for the given project and package.
|
java.util.List<NotifInstance> |
getIntanceOverrides(java.lang.Long pProjectId)
Returns a list of override instances set for the given project.
|
java.lang.String |
getRelatedTicket()
Returns the stage level Related Ticket.
|
java.lang.String |
getRelatedTicket(java.lang.Long pProjectId)
Returns the project level Related Ticket.
|
java.lang.String |
getRelatedTicket(java.lang.Long pProjectId,
java.lang.String pPackageName)
Returns the package level Related Ticket.
|
boolean |
isForceDeploy(java.lang.Long pProjectId)
Returns whether the given project is set to "Force" deploy.
|
boolean |
isForceDeploy(java.lang.Long pProjectId,
java.lang.String pPackageName)
Returns whether the given project and package is set to "Force" deploy.
|
boolean |
isNoOverrideDeploy(java.lang.Long pProjectId)
Returns whether the given project is set to "No Override" for deployment.
|
boolean |
isNoOverrideDeploy(java.lang.Long pProjectId,
java.lang.String pPackageName)
Returns whether the given project and package is set to "No Override" for deployment.
|
boolean |
isSkipDeploy(java.lang.Long pProjectId)
Returns whether the given project is set to "Skip" deploy.
|
boolean |
isSkipDeploy(java.lang.Long pProjectId,
java.lang.String pPackageName)
Returns whether the given project and package is set to "Skip" deploy.
|
public NotifPipelineStageExecInfo(java.lang.Long pPipelineStageExecId)
pPipelineStageExecId
- The internal id of the pipeline stage execution.public java.lang.String getRelatedTicket() throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public java.lang.String getRelatedTicket(java.lang.Long pProjectId) throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public java.lang.String getRelatedTicket(java.lang.Long pProjectId, java.lang.String pPackageName) throws java.sql.SQLException
java.sql.SQLException
- If the information cannot be retrieved from the database.public DeploymentOverridesEnum getDeployOverrideEnum(java.lang.Long pProjectId) throws java.sql.SQLException
pProjectId
- The id of the project to check for override.java.sql.SQLException
- If the information cannot be retrieved from the database.public java.lang.String getDeployOverride(java.lang.Long pProjectId) throws java.sql.SQLException
pProjectId
- The id of the project to check for override.java.sql.SQLException
- If the information cannot be retrieved from the database.public java.lang.String getDeployOverrideCode(java.lang.Long pProjectId, java.lang.String pPackageName) throws java.sql.SQLException
pProjectId
- The id of the project to check for override.pPackageName
- The name of the package to check override for.java.sql.SQLException
- If the information cannot be retrieved from the database.public DeploymentOverridesEnum getDeployOverrideEnum(java.lang.Long pProjectId, java.lang.String pPackageName) throws java.sql.SQLException
pProjectId
- The id of the project to check for override.pPackageName
- The name of the package to check for override.java.sql.SQLException
- If the information cannot be retrieved from the database.public java.lang.String getDeployOverride(java.lang.Long pProjectId, java.lang.String pPackageName) throws java.sql.SQLException
pProjectId
- The id of the project to check for override.pPackageName
- The name of the package to check for override.java.sql.SQLException
- If the information cannot be retrieved from the database.public boolean isForceDeploy(java.lang.Long pProjectId) throws java.sql.SQLException
pProjectId
- The project id to check.java.sql.SQLException
- If the information cannot be retrieved from the database.public boolean isForceDeploy(java.lang.Long pProjectId, java.lang.String pPackageName) throws java.sql.SQLException
pProjectId
- The project id to check.pPackageName
- The package name to check.java.sql.SQLException
- If the information cannot be retrieved from the database.public boolean isSkipDeploy(java.lang.Long pProjectId) throws java.sql.SQLException
pProjectId
- The project id to check.java.sql.SQLException
- If the information cannot be retrieved from the database.public boolean isSkipDeploy(java.lang.Long pProjectId, java.lang.String pPackageName) throws java.sql.SQLException
pProjectId
- The project id to check.pPackageName
- The package name to check.java.sql.SQLException
- If the information cannot be retrieved from the database.public boolean isNoOverrideDeploy(java.lang.Long pProjectId) throws java.sql.SQLException
pProjectId
- The project id to check.java.sql.SQLException
- If the information cannot be retrieved from the database.public boolean isNoOverrideDeploy(java.lang.Long pProjectId, java.lang.String pPackageName) throws java.sql.SQLException
pProjectId
- The project id to check.pPackageName
- The package name to check.java.sql.SQLException
- If the information cannot be retrieved from the database.public java.util.List<NotifInstance> getIntanceOverrides(java.lang.Long pProjectId) throws java.sql.SQLException
pProjectId
- The id of the project to check.java.sql.SQLException
- If the information cannot be retrieved from the database.public java.util.List<NotifInstance> getInstanceOverride(java.lang.Long pProjectId, java.lang.String pPackageName) throws java.sql.SQLException
pProjectId
- The project id to check.pPackageName
- The package name to check.java.sql.SQLException
- If the information cannot be retrieved from the database.