Interface BuildTriggerConditionExporter<P extends com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties>

    • Method Detail

      • getConfigurationKeys

        Set<String> getConfigurationKeys()
        Returns:
        config keys which exporter expect at configuration map.
      • toSpecsEntity

        @Nullable
        <T extends com.atlassian.bamboo.specs.api.builders.trigger.TriggerCondition<T,​P>> T toSpecsEntity​(@NotNull
                                                                                                                @NotNull Map<String,​String> triggerConditionConfigurations)
        Create Bamboo Specs object representing this trigger condition.
        Returns:
        Specs builder.
      • toConfigurationMap

        @NotNull
        @NotNull Map<String,​String> toConfigurationMap​(@NotNull
                                                             P properties)
        Returns:
        trigger condition configuration map extracted from TriggerConditionProperties.
      • validate

        @NotNull
        @NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate​(TriggerValidationContext validationContext,
                                                                                                   P condition)
      • fromYaml

        @Nullable
        default <T extends com.atlassian.bamboo.specs.api.builders.trigger.TriggerCondition<T,​P>> T fromYaml​(Node node)
        Returns:
        Specs builder.
      • toYaml

        @Nullable
        default @Nullable Node toYaml​(P triggerConditionProperties)