/** * Set the port (or port expression). * * @param port The port (or port expression). * @return This connectoin. */ public RemoteConnection port(int port) { this.port.set(port); return this; }
public ManagementFraction httpDisable(boolean httpDisable) { this.httpDisable.set(httpDisable); return this; }
public ModclusterFraction multicastAddress(String address) { this.multicastAddress.set(address); return this; }
/** * Enable AJP on this fraction. * * @return This fraction. */ public UndertowFraction enableAJP() { this.enableAJP.set(true); return this; }
/** * Construct. * * @param name The name of the connection. Also used for {@link #jndiName}. */ public RemoteConnection(String name) { this.name.set(name); }
public EnhancedSMTPServer host(String host) { this.host.set(host); return this; }
public JGroupsFraction defaultMulticastAddress(String defaultMulticastAddress) { this.defaultMulticastAddress.set(defaultMulticastAddress); return this; }
public HystrixFraction streamPath(String streamPath) { this.streamPath.set(streamPath); return this; }
public LogstashFraction hostname(String hostname) { this.hostname.set(hostname); return this; }
public HealthFraction securityRealm(String realmName) { this.securityRealm.set(realmName); return this; }
public ModclusterFraction multicastPort(int port) { this.multicastPort.set(port); return this; }
/** * Set the host (or host expression). * * @param host The host literal or expression. * @return This connection. */ public RemoteConnection host(String host) { this.host.set(host); return this; }
/** * Set to true to expose a Topology SSE endpoint and topology.js for * consuming topology information from the browser. Set to false to * disable this endpoint. * * Defaults to true. * * @param exposeTopologyEndpoint whether to expose the endpoint or not */ public void exposeTopologyEndpoint(boolean exposeTopologyEndpoint) { this.exposeTopologyEndpoint.set(exposeTopologyEndpoint); }
public UndertowFraction onlyHTTPS() { this.onlyHTTPS.set(true); return this; }
public UndertowFraction httpPort(int httpPort) { this.httpPort.set(httpPort); return this; }
public UndertowFraction httpsPort(int httpsPort) { this.httpsPort.set(httpsPort); return this; }
public UndertowFraction ajpPort(int ajpPort) { this.ajpPort.set(ajpPort); return this; }
@SuppressWarnings("unchecked") @Override public <T> void set(T value) throws IllegalAccessException { if (isDefaultable()) { ((Defaultable<T>) this.field.get(this.instance)).set(value); } else { this.field.set(this.instance, value); } }
@SuppressWarnings("unchecked") @Override public <T> void set(T value) throws IllegalAccessException { if (isDefaultable()) { ((Defaultable<T>) this.field.get(this.instance)).set(value); } else { this.field.set(this.instance, value); } }
@SuppressWarnings("unchecked") @Override public <T> void set(T value) throws IllegalAccessException { if (isDefaultable()) { ((Defaultable<T>) this.field.get(this.instance)).set(value); } else { this.field.set(this.instance, value); } }