Class PipelineScanResultFunctions
java.lang.Object
flexagon.fd.model2.pipeline.execution.variables.PipelineScanResultFunctions
The Class PipelineScanResultFunctions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyEnvironment(Long pEnvironmentId) returns a ScanResultInfo object containing all scan results for the given environmentId in the current snapshot.byEnvironment(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.byProjectAndEnvironment(Long pProjectId, Long pEnvironmentId) returns a ScanResultInfo object containing all scan results for the given projectId and environmentId in the current snapshot.byProjectAndEnvironment(Long pProjectId, 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.getAll()returns a ScanResultInfo object containing all scan results in the current snapshot.
-
Constructor Details
-
PipelineScanResultFunctions
-
-
Method Details
-
byEnvironment
returns a ScanResultInfo object containing all scan results for the given environmentId in the current snapshot.- Parameters:
pEnvironmentId- the environment id- Returns:
- the scanresultinfo object
- Throws:
FlexCheckedException- the flex checked exception
-
getAll
returns a ScanResultInfo object containing all scan results in the current snapshot.- Returns:
- the scanresultinfo object
- Throws:
FlexCheckedException- the flex checked exception
-
byEnvironment
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.- Parameters:
pEnvironmentCode- the environment code- Returns:
- the scanresultinfo object
- Throws:
FlexCheckedException- the flex checked exception
-
byProjectAndEnvironment
public ScanResultInfo byProjectAndEnvironment(Long pProjectId, Long pEnvironmentId) throws FlexCheckedException returns a ScanResultInfo object containing all scan results for the given projectId and environmentId in the current snapshot.- Parameters:
pProjectId- the project idpEnvironmentId- the environment id- Returns:
- the scanresultinfo object
- Throws:
FlexCheckedException- the flex checked exception
-
byProjectAndEnvironment
public ScanResultInfo byProjectAndEnvironment(Long pProjectId, String pEnvironmentCode) throws FlexCheckedException 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.- Parameters:
pProjectId- the project idpEnvironmentCode- the environment code- Returns:
- the scanresultinfo object
- Throws:
FlexCheckedException- the flex checked exception
-