public class PipelineStageDeployState
extends java.lang.Object
Constructor and Description |
---|
PipelineStageDeployState(ReleaseProjectListType pReleaseProjects,
java.util.List<ReleaseProjectVersion> pRelProjVersions,
java.lang.Long pEnvironmentId,
java.lang.String pEnvironmentName)
Instantiates a new pipeline stage deploy state.
|
Modifier and Type | Method and Description |
---|---|
boolean |
willProjectDeploy(java.lang.Long pProjectId)
returns the boolean isProjectDeployed flag, if the project with the given projectId has changes
in the snapshot compared to what is already deployed on the current stage.
|
boolean |
willProjectDeploy(java.lang.Long pProjectId,
java.lang.String pPackageName)
returns the boolean isProjectDeployed flag, if the package with the given projectId and
packageName has changes in the snapshot compared to what is already deployed on the current
stage.
|
public PipelineStageDeployState(ReleaseProjectListType pReleaseProjects, java.util.List<ReleaseProjectVersion> pRelProjVersions, java.lang.Long pEnvironmentId, java.lang.String pEnvironmentName)
pReleaseProjects
- the release projectspRelProjVersions
- the rel proj versionspEnvironmentId
- the environment idpEnvironmentName
- the environment namepublic boolean willProjectDeploy(java.lang.Long pProjectId) throws java.sql.SQLException
pProjectId
- the project idjava.sql.SQLException
- the SQL exceptionpublic boolean willProjectDeploy(java.lang.Long pProjectId, java.lang.String pPackageName) throws java.sql.SQLException
pProjectId
- the project idpPackageName
- the package namejava.sql.SQLException
- the SQL exception