Interface VariableExporter

All Known Implementing Classes:
VariableExporterImpl

public interface VariableExporter
Service to export Bamboo variables to YAML config files.
Since:
5.11
  • Method Details

    • toSpecsEntity

      @NotNull @NotNull com.atlassian.bamboo.specs.api.builders.Variable toSpecsEntity(@NotNull @NotNull VariableDefinition variable)
      Convert VariableDefinition to a property object that can be used for export.
    • toSpecsEntities

      @NotNull @NotNull List<com.atlassian.bamboo.specs.api.builders.Variable> toSpecsEntities(@NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull List<VariableDefinition> variables)
      Convert VariableDefinition to a property object that can be used for export.
      Parameters:
      plan - plan that owns the variables
      variables - list of variables