public interface ExecutableLabelValidator
Modifier and Type | Method and Description |
---|---|
Optional<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> |
validateExecutableLabelExists(com.atlassian.bamboo.specs.api.validators.common.ValidationContext context,
String executableLabel,
String key)
Checks if Bamboo Server contains information about executableLabel of type key
|
Optional<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> |
validateJDKLabels(com.atlassian.bamboo.specs.api.validators.common.ValidationContext context,
String jdkLabel)
Checks if Bamboo Server contains information about given JDK.
|
Optional<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validateExecutableLabelExists(com.atlassian.bamboo.specs.api.validators.common.ValidationContext context, String executableLabel, String key)
Optional.empty()
if executable label is present,
otherwise ValidationProblem
with proper messageOptional<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validateJDKLabels(com.atlassian.bamboo.specs.api.validators.common.ValidationContext context, String jdkLabel)
Optional.empty()
if JDK label is present,
otherwise ValidationProblem
with proper messageCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.