io.alauda.kubernetes.api.model.PipelineConfigTemplateSpecFluent 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 PipelineConfigTemplateSpecFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildAgent instead.
*/
@Deprecated public JenkinsAgent getAgent();
public JenkinsAgent buildAgent();
public A withAgent(JenkinsAgent agent);
public Boolean hasAgent();
public PipelineConfigTemplateSpecFluent.AgentNested withNewAgent();
public PipelineConfigTemplateSpecFluent.AgentNested withNewAgentLike(JenkinsAgent item);
public PipelineConfigTemplateSpecFluent.AgentNested editAgent();
public PipelineConfigTemplateSpecFluent.AgentNested editOrNewAgent();
public PipelineConfigTemplateSpecFluent.AgentNested editOrNewAgentLike(JenkinsAgent item);
public A withNewAgent(String label);
public A addToArguments(int index,PipelineTemplateArgumentGroup item);
public A setToArguments(int index,PipelineTemplateArgumentGroup item);
public A addToArguments(PipelineTemplateArgumentGroup... items);
public A addAllToArguments(Collection items);
public A removeFromArguments(PipelineTemplateArgumentGroup... items);
public A removeAllFromArguments(Collection items);
/**
* This method has been deprecated, please use method buildArguments instead.
*/
@Deprecated public List getArguments();
public List buildArguments();
public PipelineTemplateArgumentGroup buildArgument(int index);
public PipelineTemplateArgumentGroup buildFirstArgument();
public PipelineTemplateArgumentGroup buildLastArgument();
public PipelineTemplateArgumentGroup buildMatchingArgument(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withArguments(List arguments);
public A withArguments(PipelineTemplateArgumentGroup... arguments);
public Boolean hasArguments();
public PipelineConfigTemplateSpecFluent.ArgumentsNested addNewArgument();
public PipelineConfigTemplateSpecFluent.ArgumentsNested addNewArgumentLike(PipelineTemplateArgumentGroup item);
public PipelineConfigTemplateSpecFluent.ArgumentsNested setNewArgumentLike(int index,PipelineTemplateArgumentGroup item);
public PipelineConfigTemplateSpecFluent.ArgumentsNested editArgument(int index);
public PipelineConfigTemplateSpecFluent.ArgumentsNested editFirstArgument();
public PipelineConfigTemplateSpecFluent.ArgumentsNested editLastArgument();
public PipelineConfigTemplateSpecFluent.ArgumentsNested editMatchingArgument(io.alauda.kubernetes.api.builder.Predicate predicate);
public String getEngine();
public A withEngine(String engine);
public Boolean hasEngine();
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 PipelineConfigTemplateSpecFluent.ParametersNested addNewParameter();
public PipelineConfigTemplateSpecFluent.ParametersNested addNewParameterLike(PipelineParameter item);
public PipelineConfigTemplateSpecFluent.ParametersNested setNewParameterLike(int index,PipelineParameter item);
public PipelineConfigTemplateSpecFluent.ParametersNested editParameter(int index);
public PipelineConfigTemplateSpecFluent.ParametersNested editFirstParameter();
public PipelineConfigTemplateSpecFluent.ParametersNested editLastParameter();
public PipelineConfigTemplateSpecFluent.ParametersNested editMatchingParameter(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewParameter(String description,String name,String type,String value);
public A addToStages(int index,PipelineStageInstance item);
public A setToStages(int index,PipelineStageInstance item);
public A addToStages(PipelineStageInstance... items);
public A addAllToStages(Collection items);
public A removeFromStages(PipelineStageInstance... items);
public A removeAllFromStages(Collection items);
/**
* This method has been deprecated, please use method buildStages instead.
*/
@Deprecated public List getStages();
public List buildStages();
public PipelineStageInstance buildStage(int index);
public PipelineStageInstance buildFirstStage();
public PipelineStageInstance buildLastStage();
public PipelineStageInstance buildMatchingStage(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withStages(List stages);
public A withStages(PipelineStageInstance... stages);
public Boolean hasStages();
public PipelineConfigTemplateSpecFluent.StagesNested addNewStage();
public PipelineConfigTemplateSpecFluent.StagesNested addNewStageLike(PipelineStageInstance item);
public PipelineConfigTemplateSpecFluent.StagesNested setNewStageLike(int index,PipelineStageInstance item);
public PipelineConfigTemplateSpecFluent.StagesNested editStage(int index);
public PipelineConfigTemplateSpecFluent.StagesNested editFirstStage();
public PipelineConfigTemplateSpecFluent.StagesNested editLastStage();
public PipelineConfigTemplateSpecFluent.StagesNested editMatchingStage(io.alauda.kubernetes.api.builder.Predicate predicate);
public Boolean isWithSCM();
public A withWithSCM(Boolean withSCM);
public Boolean hasWithSCM();
public interface AgentNested extends io.alauda.kubernetes.api.builder.Nested,JenkinsAgentFluent>{
public N and(); public N endAgent();
}
public interface ArgumentsNested extends io.alauda.kubernetes.api.builder.Nested,PipelineTemplateArgumentGroupFluent>{
public N and(); public N endArgument();
}
public interface ParametersNested extends io.alauda.kubernetes.api.builder.Nested,PipelineParameterFluent>{
public N and(); public N endParameter();
}
public interface StagesNested extends io.alauda.kubernetes.api.builder.Nested,PipelineStageInstanceFluent>{
public N and(); public N endStage();
}
}