public DoneableExecNewPodHook(ExecNewPodHook item){ super(item);this.builder=new ExecNewPodHookBuilder(this, item);this.function=new Function<ExecNewPodHook, ExecNewPodHook>() { public ExecNewPodHook apply(ExecNewPodHook item) { return item; } } ; }
public ExecNewPodHookBuilder(ExecNewPodHook instance,Boolean validationEnabled){ this.fluent = this; this.withCommand(instance.getCommand()); this.withContainerName(instance.getContainerName()); this.withEnv(instance.getEnv()); this.withVolumes(instance.getVolumes()); this.validationEnabled = validationEnabled; }
public ExecNewPodHookBuilder( ExecNewPodHook instance ){ this.fluent = this; this.withCommand(instance.getCommand()); this.withContainerName(instance.getContainerName()); this.withEnv(instance.getEnv()); }
public ExecNewPodHook build(){ ExecNewPodHook buildable = new ExecNewPodHook(fluent.getCommand(),fluent.getContainerName(),fluent.getEnv()); validate(buildable); return buildable; }
public ExecNewPodHook done(){ return function.apply(builder.build()); }
public ExecNewPodHookBuilder( ExecNewPodHook instance ){ this.fluent = this; this.withCommand(instance.getCommand()); this.withContainerName(instance.getContainerName()); this.withEnv(instance.getEnv()); }
public ExecNewPodHook build(){ ExecNewPodHook buildable = new ExecNewPodHook(fluent.getCommand(),fluent.getContainerName(),fluent.getEnv()); validate(buildable); return buildable; }
ExecNewPodNested ( ExecNewPodHook item){ this.builder = new ExecNewPodHookBuilder(this, item); }
public ExecNewPodHook build(){ ExecNewPodHook buildable = new ExecNewPodHook(fluent.getCommand(),fluent.getContainerName(),fluent.getEnv(),fluent.getVolumes()); validate(buildable); return buildable; }
ExecNewPodNested ( ExecNewPodHook item){ this.builder = new ExecNewPodHookBuilder(item); }
public DoneableExecNewPodHook(Function<ExecNewPodHook,ExecNewPodHook> function){ super();this.builder=new ExecNewPodHookBuilder(this);this.function=function; } public DoneableExecNewPodHook(ExecNewPodHook item,Function<ExecNewPodHook,ExecNewPodHook> function){
public DoneableExecNewPodHook(ExecNewPodHook item,Function<ExecNewPodHook,ExecNewPodHook> function){ super(item);this.builder=new ExecNewPodHookBuilder(this, item);this.function=function; } public DoneableExecNewPodHook(ExecNewPodHook item){
public class TagImagesNestedImpl<N> extends TagImageHookFluentImpl<LifecycleHookFluent.TagImagesNested<N>> implements LifecycleHookFluent.TagImagesNested<N>,Nested<N>{ private final TagImageHookBuilder builder; TagImagesNestedImpl(){ this.builder = new TagImageHookBuilder(this); } TagImagesNestedImpl(TagImageHook item){ this.builder = new TagImageHookBuilder(this, item); } public N endTagImage(){ return and(); } public N and(){ return (N) LifecycleHookFluentImpl.this.addToTagImages(builder.build()); } }
public T withExecNewPod( ExecNewPodHook execNewPod){ if (execNewPod!=null){ this.execNewPod= new ExecNewPodHookBuilder(execNewPod); _visitables.add(this.execNewPod);} return (T) this; } public ExecNewPodNested<T> withNewExecNewPod(){
public T withExecNewPod( ExecNewPodHook execNewPod){ if (execNewPod!=null){ this.execNewPod= new ExecNewPodHookBuilder(execNewPod); _visitables.add(this.execNewPod);} return (T) this; } public ExecNewPodNested<T> withNewExecNewPod(){
public A withExecNewPod(ExecNewPodHook execNewPod){ if (execNewPod!=null){ this.execNewPod= new ExecNewPodHookBuilder(execNewPod); _visitables.add(this.execNewPod);} return (A) this; }