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

annotations.io.alauda.kubernetes.api.model.PipelineTemplateTaskFluent 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 javax.validation.constraints.NotNull;
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 PipelineTemplateTaskFluent> 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 PipelineTemplateTaskFluent.AgentNested withNewAgent();
    public PipelineTemplateTaskFluent.AgentNested withNewAgentLike(JenkinsAgent item);
    public PipelineTemplateTaskFluent.AgentNested editAgent();
    public PipelineTemplateTaskFluent.AgentNested editOrNewAgent();
    public PipelineTemplateTaskFluent.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 PipelineTemplateTaskFluent.ApproveNested withNewApprove();
    public PipelineTemplateTaskFluent.ApproveNested withNewApproveLike(PipelineTaskApprove item);
    public PipelineTemplateTaskFluent.ApproveNested editApprove();
    public PipelineTemplateTaskFluent.ApproveNested editOrNewApprove();
    public PipelineTemplateTaskFluent.ApproveNested editOrNewApproveLike(PipelineTaskApprove item);
    public A withNewApprove(String message,Long timeout);
    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 PipelineTemplateTaskFluent.EnvironmentsNested addNewEnvironment();
    public PipelineTemplateTaskFluent.EnvironmentsNested addNewEnvironmentLike(PipelineEnvironment item);
    public PipelineTemplateTaskFluent.EnvironmentsNested setNewEnvironmentLike(int index,PipelineEnvironment item);
    public PipelineTemplateTaskFluent.EnvironmentsNested editEnvironment(int index);
    public PipelineTemplateTaskFluent.EnvironmentsNested editFirstEnvironment();
    public PipelineTemplateTaskFluent.EnvironmentsNested editLastEnvironment();
    public PipelineTemplateTaskFluent.EnvironmentsNested editMatchingEnvironment(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A addNewEnvironment(String name,String value);
    public String getKind();
    public A withKind(String kind);
    public Boolean hasKind();
    public String getName();
    public A withName(String name);
    public Boolean hasName();
    
/**
 * 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 PipelineTemplateTaskFluent.OptionsNested withNewOptions();
    public PipelineTemplateTaskFluent.OptionsNested withNewOptionsLike(PipelineTaskOption item);
    public PipelineTemplateTaskFluent.OptionsNested editOptions();
    public PipelineTemplateTaskFluent.OptionsNested editOrNewOptions();
    public PipelineTemplateTaskFluent.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 EnvironmentsNested extends io.alauda.kubernetes.api.builder.Nested,PipelineEnvironmentFluent>{

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

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


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy