annotations.io.alauda.kubernetes.api.model.PipelineSpecFluent 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.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface PipelineSpecFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildCause instead.
*/
@Deprecated public PipelineCause getCause();
public PipelineCause buildCause();
public A withCause(PipelineCause cause);
public Boolean hasCause();
public PipelineSpecFluent.CauseNested withNewCause();
public PipelineSpecFluent.CauseNested withNewCauseLike(PipelineCause item);
public PipelineSpecFluent.CauseNested editCause();
public PipelineSpecFluent.CauseNested editOrNewCause();
public PipelineSpecFluent.CauseNested editOrNewCauseLike(PipelineCause item);
public A withNewCause(String message,String type);
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 PipelineSpecFluent.HooksNested addNewHook();
public PipelineSpecFluent.HooksNested addNewHookLike(PipelineHook item);
public PipelineSpecFluent.HooksNested setNewHookLike(int index,PipelineHook item);
public PipelineSpecFluent.HooksNested editHook(int index);
public PipelineSpecFluent.HooksNested editFirstHook();
public PipelineSpecFluent.HooksNested editLastHook();
public PipelineSpecFluent.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 PipelineSpecFluent.JenkinsBindingNested withNewJenkinsBinding();
public PipelineSpecFluent.JenkinsBindingNested withNewJenkinsBindingLike(LocalObjectReference item);
public PipelineSpecFluent.JenkinsBindingNested editJenkinsBinding();
public PipelineSpecFluent.JenkinsBindingNested editOrNewJenkinsBinding();
public PipelineSpecFluent.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 PipelineSpecFluent.ParametersNested addNewParameter();
public PipelineSpecFluent.ParametersNested addNewParameterLike(PipelineParameter item);
public PipelineSpecFluent.ParametersNested setNewParameterLike(int index,PipelineParameter item);
public PipelineSpecFluent.ParametersNested editParameter(int index);
public PipelineSpecFluent.ParametersNested editFirstParameter();
public PipelineSpecFluent.ParametersNested editLastParameter();
public PipelineSpecFluent.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 buildPipelineConfig instead.
*/
@Deprecated public LocalObjectReference getPipelineConfig();
public LocalObjectReference buildPipelineConfig();
public A withPipelineConfig(LocalObjectReference pipelineConfig);
public Boolean hasPipelineConfig();
public PipelineSpecFluent.PipelineConfigNested withNewPipelineConfig();
public PipelineSpecFluent.PipelineConfigNested withNewPipelineConfigLike(LocalObjectReference item);
public PipelineSpecFluent.PipelineConfigNested editPipelineConfig();
public PipelineSpecFluent.PipelineConfigNested editOrNewPipelineConfig();
public PipelineSpecFluent.PipelineConfigNested editOrNewPipelineConfigLike(LocalObjectReference item);
public A withNewPipelineConfig(String name);
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 PipelineSpecFluent.SourceNested withNewSource();
public PipelineSpecFluent.SourceNested withNewSourceLike(PipelineSource item);
public PipelineSpecFluent.SourceNested editSource();
public PipelineSpecFluent.SourceNested editOrNewSource();
public PipelineSpecFluent.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 PipelineSpecFluent.StrategyNested withNewStrategy();
public PipelineSpecFluent.StrategyNested withNewStrategyLike(PipelineStrategy item);
public PipelineSpecFluent.StrategyNested editStrategy();
public PipelineSpecFluent.StrategyNested editOrNewStrategy();
public PipelineSpecFluent.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 PipelineSpecFluent.TriggersNested addNewTrigger();
public PipelineSpecFluent.TriggersNested addNewTriggerLike(PipelineTrigger item);
public PipelineSpecFluent.TriggersNested setNewTriggerLike(int index,PipelineTrigger item);
public PipelineSpecFluent.TriggersNested editTrigger(int index);
public PipelineSpecFluent.TriggersNested editFirstTrigger();
public PipelineSpecFluent.TriggersNested editLastTrigger();
public PipelineSpecFluent.TriggersNested editMatchingTrigger(io.alauda.kubernetes.api.builder.Predicate predicate);
public interface CauseNested extends io.alauda.kubernetes.api.builder.Nested,PipelineCauseFluent>{
public N and(); public N endCause();
}
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 PipelineConfigNested extends io.alauda.kubernetes.api.builder.Nested,LocalObjectReferenceFluent>{
public N and(); public N endPipelineConfig();
}
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();
}
}