io.alauda.kubernetes.api.model.PipelineTemplateSpecFluent 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 PipelineTemplateSpecFluent> 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 PipelineTemplateSpecFluent.AgentNested withNewAgent();
public PipelineTemplateSpecFluent.AgentNested withNewAgentLike(JenkinsAgent item);
public PipelineTemplateSpecFluent.AgentNested editAgent();
public PipelineTemplateSpecFluent.AgentNested editOrNewAgent();
public PipelineTemplateSpecFluent.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 PipelineTemplateSpecFluent.ArgumentsNested addNewArgument();
public PipelineTemplateSpecFluent.ArgumentsNested addNewArgumentLike(PipelineTemplateArgumentGroup item);
public PipelineTemplateSpecFluent.ArgumentsNested setNewArgumentLike(int index,PipelineTemplateArgumentGroup item);
public PipelineTemplateSpecFluent.ArgumentsNested editArgument(int index);
public PipelineTemplateSpecFluent.ArgumentsNested editFirstArgument();
public PipelineTemplateSpecFluent.ArgumentsNested editLastArgument();
public PipelineTemplateSpecFluent.ArgumentsNested editMatchingArgument(io.alauda.kubernetes.api.builder.Predicate predicate);
public String getEngine();
public A withEngine(String engine);
public Boolean hasEngine();
public A addToEnvironments(int index,PipelineEnvironment item);
public A setToEnvironments(int index,PipelineEnvironment item);
public A addToEnvironments(PipelineEnvironment... items);
public A addAllToEnvironments(Collection items);
public A removeFromEnvironments(PipelineEnvironment... items);
public A removeAllFromEnvironments(Collection items);
/**
* This method has been deprecated, please use method buildEnvironments instead.
*/
@Deprecated public List getEnvironments();
public List buildEnvironments();
public PipelineEnvironment buildEnvironment(int index);
public PipelineEnvironment buildFirstEnvironment();
public PipelineEnvironment buildLastEnvironment();
public PipelineEnvironment buildMatchingEnvironment(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withEnvironments(List environments);
public A withEnvironments(PipelineEnvironment... environments);
public Boolean hasEnvironments();
public PipelineTemplateSpecFluent.EnvironmentsNested addNewEnvironment();
public PipelineTemplateSpecFluent.EnvironmentsNested addNewEnvironmentLike(PipelineEnvironment item);
public PipelineTemplateSpecFluent.EnvironmentsNested setNewEnvironmentLike(int index,PipelineEnvironment item);
public PipelineTemplateSpecFluent.EnvironmentsNested editEnvironment(int index);
public PipelineTemplateSpecFluent.EnvironmentsNested editFirstEnvironment();
public PipelineTemplateSpecFluent.EnvironmentsNested editLastEnvironment();
public PipelineTemplateSpecFluent.EnvironmentsNested editMatchingEnvironment(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewEnvironment(String name,String value);
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 PipelineTemplateSpecFluent.ParametersNested addNewParameter();
public PipelineTemplateSpecFluent.ParametersNested addNewParameterLike(PipelineParameter item);
public PipelineTemplateSpecFluent.ParametersNested setNewParameterLike(int index,PipelineParameter item);
public PipelineTemplateSpecFluent.ParametersNested editParameter(int index);
public PipelineTemplateSpecFluent.ParametersNested editFirstParameter();
public PipelineTemplateSpecFluent.ParametersNested editLastParameter();
public PipelineTemplateSpecFluent.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,PipelineStage item);
public A setToStages(int index,PipelineStage item);
public A addToStages(PipelineStage... items);
public A addAllToStages(Collection items);
public A removeFromStages(PipelineStage... items);
public A removeAllFromStages(Collection items);
/**
* This method has been deprecated, please use method buildStages instead.
*/
@Deprecated public List getStages();
public List buildStages();
public PipelineStage buildStage(int index);
public PipelineStage buildFirstStage();
public PipelineStage buildLastStage();
public PipelineStage buildMatchingStage(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withStages(List stages);
public A withStages(PipelineStage... stages);
public Boolean hasStages();
public PipelineTemplateSpecFluent.StagesNested addNewStage();
public PipelineTemplateSpecFluent.StagesNested addNewStageLike(PipelineStage item);
public PipelineTemplateSpecFluent.StagesNested setNewStageLike(int index,PipelineStage item);
public PipelineTemplateSpecFluent.StagesNested editStage(int index);
public PipelineTemplateSpecFluent.StagesNested editFirstStage();
public PipelineTemplateSpecFluent.StagesNested editLastStage();
public PipelineTemplateSpecFluent.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 EnvironmentsNested extends io.alauda.kubernetes.api.builder.Nested,PipelineEnvironmentFluent>{
public N and(); public N endEnvironment();
}
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,PipelineStageFluent>{
public N and(); public N endStage();
}
}