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 key
      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.
    • 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, otherwise ValidationProblem 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, otherwise ValidationProblem with proper message