public class PipelineScanResultFunctions
extends java.lang.Object
Constructor and Description |
---|
PipelineScanResultFunctions(java.lang.Long pSnapshotId) |
Modifier and Type | Method and Description |
---|---|
ScanResultInfo |
byEnvironment(java.lang.Long pEnvironmentId)
returns a ScanResultInfo object containing all scan results for the given environmentId in the
current snapshot.
|
ScanResultInfo |
byEnvironment(java.lang.String pEnvironmentCode)
returns a ScanResultInfo object containing all scan results for the given environmentCode in
the current snapshot.
This is useful to use with stexec.getEnvironmentCode() to check scan results in the current stage. |
ScanResultInfo |
byProjectAndEnvironment(java.lang.Long pProjectId,
java.lang.Long pEnvironmentId)
returns a ScanResultInfo object containing all scan results for the given projectId and
environmentId in the current snapshot.
|
ScanResultInfo |
byProjectAndEnvironment(java.lang.Long pProjectId,
java.lang.String pEnvironmentCode)
returns a ScanResultInfo object containing all scan results for the given projectId and
environment Code in the current snapshot.
This is useful to use with stexec.getEnvironmentCode() to check scan results in the current stage. |
ScanResultInfo |
getAll()
returns a ScanResultInfo object containing all scan results in the current snapshot.
|
public PipelineScanResultFunctions(java.lang.Long pSnapshotId)
public ScanResultInfo byEnvironment(java.lang.Long pEnvironmentId) throws FlexCheckedException
pEnvironmentId
- the environment idFlexCheckedException
- the flex checked exceptionpublic ScanResultInfo getAll() throws FlexCheckedException
FlexCheckedException
- the flex checked exceptionpublic ScanResultInfo byEnvironment(java.lang.String pEnvironmentCode) throws FlexCheckedException
pEnvironmentCode
- the environment codeFlexCheckedException
- the flex checked exceptionpublic ScanResultInfo byProjectAndEnvironment(java.lang.Long pProjectId, java.lang.Long pEnvironmentId) throws FlexCheckedException
pProjectId
- the project idpEnvironmentId
- the environment idFlexCheckedException
- the flex checked exceptionpublic ScanResultInfo byProjectAndEnvironment(java.lang.Long pProjectId, java.lang.String pEnvironmentCode) throws FlexCheckedException
pProjectId
- the project idpEnvironmentCode
- the environment codeFlexCheckedException
- the flex checked exception