io.alauda.kubernetes.api.model.PipelineConfigSpecFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import javax.validation.Valid;
import java.lang.Long;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface PipelineConfigSpecFluent> extends Fluent{
public A addToHooks(int index,PipelineHook item);
public A setToHooks(int index,PipelineHook item);
public A addToHooks(PipelineHook... items);
public A addAllToHooks(Collection items);
public A removeFromHooks(PipelineHook... items);
public A removeAllFromHooks(Collection items);
/**
* This method has been deprecated, please use method buildHooks instead.
*/
@Deprecated public List getHooks();
public List buildHooks();
public PipelineHook buildHook(int index);
public PipelineHook buildFirstHook();
public PipelineHook buildLastHook();
public PipelineHook buildMatchingHook(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withHooks(List hooks);
public A withHooks(PipelineHook... hooks);
public Boolean hasHooks();
public PipelineConfigSpecFluent.HooksNested addNewHook();
public PipelineConfigSpecFluent.HooksNested addNewHookLike(PipelineHook item);
public PipelineConfigSpecFluent.HooksNested setNewHookLike(int index,PipelineHook item);
public PipelineConfigSpecFluent.HooksNested editHook(int index);
public PipelineConfigSpecFluent.HooksNested editFirstHook();
public PipelineConfigSpecFluent.HooksNested editLastHook();
public PipelineConfigSpecFluent.HooksNested editMatchingHook(io.alauda.kubernetes.api.builder.Predicate predicate);
/**
* This method has been deprecated, please use method buildJenkinsBinding instead.
*/
@Deprecated public LocalObjectReference getJenkinsBinding();
public LocalObjectReference buildJenkinsBinding();
public A withJenkinsBinding(LocalObjectReference jenkinsBinding);
public Boolean hasJenkinsBinding();
public PipelineConfigSpecFluent.JenkinsBindingNested withNewJenkinsBinding();
public PipelineConfigSpecFluent.JenkinsBindingNested withNewJenkinsBindingLike(LocalObjectReference item);
public PipelineConfigSpecFluent.JenkinsBindingNested editJenkinsBinding();
public PipelineConfigSpecFluent.JenkinsBindingNested editOrNewJenkinsBinding();
public PipelineConfigSpecFluent.JenkinsBindingNested editOrNewJenkinsBindingLike(LocalObjectReference item);
public A withNewJenkinsBinding(String name);
public A addToParameters(int index,PipelineParameter item);
public A setToParameters(int index,PipelineParameter item);
public A addToParameters(PipelineParameter... items);
public A addAllToParameters(Collection items);
public A removeFromParameters(PipelineParameter... items);
public A removeAllFromParameters(Collection items);
/**
* This method has been deprecated, please use method buildParameters instead.
*/
@Deprecated public List getParameters();
public List buildParameters();
public PipelineParameter buildParameter(int index);
public PipelineParameter buildFirstParameter();
public PipelineParameter buildLastParameter();
public PipelineParameter buildMatchingParameter(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withParameters(List parameters);
public A withParameters(PipelineParameter... parameters);
public Boolean hasParameters();
public PipelineConfigSpecFluent.ParametersNested addNewParameter();
public PipelineConfigSpecFluent.ParametersNested addNewParameterLike(PipelineParameter item);
public PipelineConfigSpecFluent.ParametersNested setNewParameterLike(int index,PipelineParameter item);
public PipelineConfigSpecFluent.ParametersNested editParameter(int index);
public PipelineConfigSpecFluent.ParametersNested editFirstParameter();
public PipelineConfigSpecFluent.ParametersNested editLastParameter();
public PipelineConfigSpecFluent.ParametersNested editMatchingParameter(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewParameter(String description,String name,String type,String value);
/**
* This method has been deprecated, please use method buildRunLimits instead.
*/
@Deprecated public PipelineRunLimits getRunLimits();
public PipelineRunLimits buildRunLimits();
public A withRunLimits(PipelineRunLimits runLimits);
public Boolean hasRunLimits();
public PipelineConfigSpecFluent.RunLimitsNested withNewRunLimits();
public PipelineConfigSpecFluent.RunLimitsNested withNewRunLimitsLike(PipelineRunLimits item);
public PipelineConfigSpecFluent.RunLimitsNested editRunLimits();
public PipelineConfigSpecFluent.RunLimitsNested editOrNewRunLimits();
public PipelineConfigSpecFluent.RunLimitsNested editOrNewRunLimitsLike(PipelineRunLimits item);
public A withNewRunLimits(Long failureCount,Long successCount);
public String getRunPolicy();
public A withRunPolicy(String runPolicy);
public Boolean hasRunPolicy();
/**
* This method has been deprecated, please use method buildSource instead.
*/
@Deprecated public PipelineSource getSource();
public PipelineSource buildSource();
public A withSource(PipelineSource source);
public Boolean hasSource();
public PipelineConfigSpecFluent.SourceNested withNewSource();
public PipelineConfigSpecFluent.SourceNested withNewSourceLike(PipelineSource item);
public PipelineConfigSpecFluent.SourceNested editSource();
public PipelineConfigSpecFluent.SourceNested editOrNewSource();
public PipelineConfigSpecFluent.SourceNested editOrNewSourceLike(PipelineSource item);
/**
* This method has been deprecated, please use method buildStrategy instead.
*/
@Deprecated public PipelineStrategy getStrategy();
public PipelineStrategy buildStrategy();
public A withStrategy(PipelineStrategy strategy);
public Boolean hasStrategy();
public PipelineConfigSpecFluent.StrategyNested withNewStrategy();
public PipelineConfigSpecFluent.StrategyNested withNewStrategyLike(PipelineStrategy item);
public PipelineConfigSpecFluent.StrategyNested editStrategy();
public PipelineConfigSpecFluent.StrategyNested editOrNewStrategy();
public PipelineConfigSpecFluent.StrategyNested editOrNewStrategyLike(PipelineStrategy item);
public A addToTriggers(int index,PipelineTrigger item);
public A setToTriggers(int index,PipelineTrigger item);
public A addToTriggers(PipelineTrigger... items);
public A addAllToTriggers(Collection items);
public A removeFromTriggers(PipelineTrigger... items);
public A removeAllFromTriggers(Collection items);
/**
* This method has been deprecated, please use method buildTriggers instead.
*/
@Deprecated public List getTriggers();
public List buildTriggers();
public PipelineTrigger buildTrigger(int index);
public PipelineTrigger buildFirstTrigger();
public PipelineTrigger buildLastTrigger();
public PipelineTrigger buildMatchingTrigger(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withTriggers(List triggers);
public A withTriggers(PipelineTrigger... triggers);
public Boolean hasTriggers();
public PipelineConfigSpecFluent.TriggersNested addNewTrigger();
public PipelineConfigSpecFluent.TriggersNested addNewTriggerLike(PipelineTrigger item);
public PipelineConfigSpecFluent.TriggersNested setNewTriggerLike(int index,PipelineTrigger item);
public PipelineConfigSpecFluent.TriggersNested editTrigger(int index);
public PipelineConfigSpecFluent.TriggersNested editFirstTrigger();
public PipelineConfigSpecFluent.TriggersNested editLastTrigger();
public PipelineConfigSpecFluent.TriggersNested editMatchingTrigger(io.alauda.kubernetes.api.builder.Predicate predicate);
public interface HooksNested extends io.alauda.kubernetes.api.builder.Nested,PipelineHookFluent>{
public N and(); public N endHook();
}
public interface JenkinsBindingNested extends io.alauda.kubernetes.api.builder.Nested,LocalObjectReferenceFluent>{
public N and(); public N endJenkinsBinding();
}
public interface ParametersNested extends io.alauda.kubernetes.api.builder.Nested,PipelineParameterFluent>{
public N and(); public N endParameter();
}
public interface RunLimitsNested extends io.alauda.kubernetes.api.builder.Nested,PipelineRunLimitsFluent>{
public N and(); public N endRunLimits();
}
public interface SourceNested extends io.alauda.kubernetes.api.builder.Nested,PipelineSourceFluent>{
public N and(); public N endSource();
}
public interface StrategyNested extends io.alauda.kubernetes.api.builder.Nested,PipelineStrategyFluent>{
public N and(); public N endStrategy();
}
public interface TriggersNested extends io.alauda.kubernetes.api.builder.Nested,PipelineTriggerFluent>{
public N and(); public N endTrigger();
}
}