Interface ExecutableLabelValidator
-
- All Known Implementing Classes:
DefaultExecutableLabelValidator
@Deprecated public interface ExecutableLabelValidator
Deprecated.for removal since 8.1.0. It doesn't work correctly with Docker or Per-Build-Container agent capabilities. It's better not to use it at Bamboo Specs exporters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Optional<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem>
validateExecutableLabelExists(com.atlassian.bamboo.specs.api.validators.common.ValidationContext context, String executableLabel, String key)
Deprecated.Checks if Bamboo Server contains information about executableLabel of type keyOptional<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem>
validateJDKLabels(com.atlassian.bamboo.specs.api.validators.common.ValidationContext context, String jdkLabel)
Deprecated.Checks if Bamboo Server contains information about given JDK.
-
-
-
Method Detail
-
validateExecutableLabelExists
Optional<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validateExecutableLabelExists(com.atlassian.bamboo.specs.api.validators.common.ValidationContext context, String executableLabel, String key)
Deprecated.Checks if Bamboo Server contains information about executableLabel of type key- Returns:
Optional.empty()
if executable label is present, otherwiseValidationProblem
with proper message
-
validateJDKLabels
Optional<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validateJDKLabels(com.atlassian.bamboo.specs.api.validators.common.ValidationContext context, String jdkLabel)
Deprecated.Checks if Bamboo Server contains information about given JDK.- Returns:
Optional.empty()
if JDK label is present, otherwiseValidationProblem
with proper message
-
-