public DoneableHTTPGetAction(HTTPGetAction item,Function<HTTPGetAction,HTTPGetAction> function){ super(item);this.builder=new HTTPGetActionBuilder(this, item);this.function=function; } public DoneableHTTPGetAction(HTTPGetAction item){
public HTTPGetActionBuilder(HTTPGetAction instance,Boolean validationEnabled){ this.fluent = this; this.withHost(instance.getHost()); this.withHttpHeaders(instance.getHttpHeaders()); this.withPath(instance.getPath()); this.withPort(instance.getPort()); this.withScheme(instance.getScheme()); this.validationEnabled = validationEnabled; }
Probe create() { HTTPGetActionBuilder httpGetActionBuilder = new HTTPGetActionBuilder() .withPath(getProbePath()) .withNewPort(getPort()); List<HTTPHeader> httpHeaders = getHttpHeaders(); if (!httpHeaders.isEmpty()) { httpGetActionBuilder.withHttpHeaders(httpHeaders); } return new ProbeBuilder() .withHttpGet(httpGetActionBuilder.build()) .withTimeoutSeconds(getTimeout()) .withInitialDelaySeconds(getInitialDelay()) .withPeriodSeconds(getPeriod()) .build(); }
public EditableHTTPGetAction build(){ EditableHTTPGetAction buildable = new EditableHTTPGetAction(fluent.getHost(),fluent.getPath(),fluent.getPort()); validate(buildable); return buildable; }
public HTTPGetAction done(){ return function.apply(builder.build()); }
public HTTPGetAction build(){ HTTPGetAction buildable = new HTTPGetAction(fluent.getHost(),fluent.getPath(),fluent.getPort()); validate(buildable); return buildable; }
public DoneableHTTPGetAction(HTTPGetAction item){ super(item);this.builder=new HTTPGetActionBuilder(this, item);this.function=new Function<HTTPGetAction, HTTPGetAction>() { public HTTPGetAction apply(HTTPGetAction item) { return item; } } ; }
public HTTPGetAction build(){ HTTPGetAction buildable = new HTTPGetAction(fluent.getHost(),fluent.getHttpHeaders(),fluent.getPath(),fluent.getPort(),fluent.getScheme()); validate(buildable); return buildable; }
public DoneableHTTPGetAction(Function<HTTPGetAction,HTTPGetAction> function){ super();this.builder=new HTTPGetActionBuilder(this);this.function=function; } public DoneableHTTPGetAction(HTTPGetAction item,Function<HTTPGetAction,HTTPGetAction> function){
public HTTPGetActionBuilder edit(){ return new HTTPGetActionBuilder(this); }
public T withHttpGet( HTTPGetAction httpGet){ if (httpGet!=null){ this.httpGet= new HTTPGetActionBuilder(httpGet); _visitables.add(this.httpGet);} return (T) this; } public HttpGetNested<T> withNewHttpGet(){
public T withHttpGet( HTTPGetAction httpGet){ if (httpGet!=null){ this.httpGet= new HTTPGetActionBuilder(httpGet); _visitables.add(this.httpGet);} return (T) this; } public HttpGetNested<T> withNewHttpGet(){
public T withHttpGet( HTTPGetAction httpGet){ if (httpGet!=null){ this.httpGet= new HTTPGetActionBuilder(httpGet); _visitables.add(this.httpGet);} return (T) this; } public HttpGetNested<T> withNewHttpGet(){
public T withHttpGet( HTTPGetAction httpGet){ if (httpGet!=null){ this.httpGet= new HTTPGetActionBuilder(httpGet); _visitables.add(this.httpGet);} return (T) this; } public HttpGetNested<T> withNewHttpGet(){
public A withHttpGet(HTTPGetAction httpGet){ if (httpGet!=null){ this.httpGet= new HTTPGetActionBuilder(httpGet); _visitables.add(this.httpGet);} return (A) this; }
public A withHttpGet(HTTPGetAction httpGet){ if (httpGet!=null){ this.httpGet= new HTTPGetActionBuilder(httpGet); _visitables.add(this.httpGet);} return (A) this; }
TcpSocketNested ( TCPSocketAction item){ this.builder = new TCPSocketActionBuilder(this, item); }
TcpSocketNested (){ this.builder = new TCPSocketActionBuilder(this); }