All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.alauda.kubernetes.api.model.PipelineTemplateTaskInstanceSpecFluent Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
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 PipelineTemplateTaskInstanceSpecFluent> 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 PipelineTemplateTaskInstanceSpecFluent.AgentNested withNewAgent();
    public PipelineTemplateTaskInstanceSpecFluent.AgentNested withNewAgentLike(JenkinsAgent item);
    public PipelineTemplateTaskInstanceSpecFluent.AgentNested editAgent();
    public PipelineTemplateTaskInstanceSpecFluent.AgentNested editOrNewAgent();
    public PipelineTemplateTaskInstanceSpecFluent.AgentNested editOrNewAgentLike(JenkinsAgent item);
    public A withNewAgent(String label);
    
/**
 * This method has been deprecated, please use method buildApprove instead.
 */
@Deprecated public PipelineTaskApprove getApprove();
    public PipelineTaskApprove buildApprove();
    public A withApprove(PipelineTaskApprove approve);
    public Boolean hasApprove();
    public PipelineTemplateTaskInstanceSpecFluent.ApproveNested withNewApprove();
    public PipelineTemplateTaskInstanceSpecFluent.ApproveNested withNewApproveLike(PipelineTaskApprove item);
    public PipelineTemplateTaskInstanceSpecFluent.ApproveNested editApprove();
    public PipelineTemplateTaskInstanceSpecFluent.ApproveNested editOrNewApprove();
    public PipelineTemplateTaskInstanceSpecFluent.ApproveNested editOrNewApproveLike(PipelineTaskApprove item);
    public A withNewApprove(String message,Long timeout);
    public A addToArguments(int index,PipelineTemplateArgument item);
    public A setToArguments(int index,PipelineTemplateArgument item);
    public A addToArguments(PipelineTemplateArgument... items);
    public A addAllToArguments(Collection items);
    public A removeFromArguments(PipelineTemplateArgument... items);
    public A removeAllFromArguments(Collection items);
    
/**
 * This method has been deprecated, please use method buildArguments instead.
 */
@Deprecated public List getArguments();
    public List buildArguments();
    public PipelineTemplateArgument buildArgument(int index);
    public PipelineTemplateArgument buildFirstArgument();
    public PipelineTemplateArgument buildLastArgument();
    public PipelineTemplateArgument buildMatchingArgument(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withArguments(List arguments);
    public A withArguments(PipelineTemplateArgument... arguments);
    public Boolean hasArguments();
    public PipelineTemplateTaskInstanceSpecFluent.ArgumentsNested addNewArgument();
    public PipelineTemplateTaskInstanceSpecFluent.ArgumentsNested addNewArgumentLike(PipelineTemplateArgument item);
    public PipelineTemplateTaskInstanceSpecFluent.ArgumentsNested setNewArgumentLike(int index,PipelineTemplateArgument item);
    public PipelineTemplateTaskInstanceSpecFluent.ArgumentsNested editArgument(int index);
    public PipelineTemplateTaskInstanceSpecFluent.ArgumentsNested editFirstArgument();
    public PipelineTemplateTaskInstanceSpecFluent.ArgumentsNested editLastArgument();
    public PipelineTemplateTaskInstanceSpecFluent.ArgumentsNested editMatchingArgument(io.alauda.kubernetes.api.builder.Predicate predicate);
    public String getBody();
    public A withBody(String body);
    public Boolean hasBody();
    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 PipelineTemplateTaskInstanceSpecFluent.EnvironmentsNested addNewEnvironment();
    public PipelineTemplateTaskInstanceSpecFluent.EnvironmentsNested addNewEnvironmentLike(PipelineEnvironment item);
    public PipelineTemplateTaskInstanceSpecFluent.EnvironmentsNested setNewEnvironmentLike(int index,PipelineEnvironment item);
    public PipelineTemplateTaskInstanceSpecFluent.EnvironmentsNested editEnvironment(int index);
    public PipelineTemplateTaskInstanceSpecFluent.EnvironmentsNested editFirstEnvironment();
    public PipelineTemplateTaskInstanceSpecFluent.EnvironmentsNested editLastEnvironment();
    public PipelineTemplateTaskInstanceSpecFluent.EnvironmentsNested editMatchingEnvironment(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A addNewEnvironment(String name,String value);
    public A addToExports(int index,GlobalParameter item);
    public A setToExports(int index,GlobalParameter item);
    public A addToExports(GlobalParameter... items);
    public A addAllToExports(Collection items);
    public A removeFromExports(GlobalParameter... items);
    public A removeAllFromExports(Collection items);
    
/**
 * This method has been deprecated, please use method buildExports instead.
 */
@Deprecated public List getExports();
    public List buildExports();
    public GlobalParameter buildExport(int index);
    public GlobalParameter buildFirstExport();
    public GlobalParameter buildLastExport();
    public GlobalParameter buildMatchingExport(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withExports(List exports);
    public A withExports(GlobalParameter... exports);
    public Boolean hasExports();
    public PipelineTemplateTaskInstanceSpecFluent.ExportsNested addNewExport();
    public PipelineTemplateTaskInstanceSpecFluent.ExportsNested addNewExportLike(GlobalParameter item);
    public PipelineTemplateTaskInstanceSpecFluent.ExportsNested setNewExportLike(int index,GlobalParameter item);
    public PipelineTemplateTaskInstanceSpecFluent.ExportsNested editExport(int index);
    public PipelineTemplateTaskInstanceSpecFluent.ExportsNested editFirstExport();
    public PipelineTemplateTaskInstanceSpecFluent.ExportsNested editLastExport();
    public PipelineTemplateTaskInstanceSpecFluent.ExportsNested editMatchingExport(io.alauda.kubernetes.api.builder.Predicate predicate);
    
/**
 * This method has been deprecated, please use method buildOptions instead.
 */
@Deprecated public PipelineTaskOption getOptions();
    public PipelineTaskOption buildOptions();
    public A withOptions(PipelineTaskOption options);
    public Boolean hasOptions();
    public PipelineTemplateTaskInstanceSpecFluent.OptionsNested withNewOptions();
    public PipelineTemplateTaskInstanceSpecFluent.OptionsNested withNewOptionsLike(PipelineTaskOption item);
    public PipelineTemplateTaskInstanceSpecFluent.OptionsNested editOptions();
    public PipelineTemplateTaskInstanceSpecFluent.OptionsNested editOrNewOptions();
    public PipelineTemplateTaskInstanceSpecFluent.OptionsNested editOrNewOptionsLike(PipelineTaskOption item);
    public A withNewOptions(Long timeout);
    public String getType();
    public A withType(String type);
    public Boolean hasType();

    public interface AgentNested extends io.alauda.kubernetes.api.builder.Nested,JenkinsAgentFluent>{

        
    public N and();    public N endAgent();
}
    public interface ApproveNested extends io.alauda.kubernetes.api.builder.Nested,PipelineTaskApproveFluent>{

        
    public N and();    public N endApprove();
}
    public interface ArgumentsNested extends io.alauda.kubernetes.api.builder.Nested,PipelineTemplateArgumentFluent>{

        
    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 ExportsNested extends io.alauda.kubernetes.api.builder.Nested,GlobalParameterFluent>{

        
    public N and();    public N endExport();
}
    public interface OptionsNested extends io.alauda.kubernetes.api.builder.Nested,PipelineTaskOptionFluent>{

        
    public N and();    public N endOptions();
}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy