public class ConnectionBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectionBuilder.AbstractConnectionBuilder |
class |
ConnectionBuilder.CredentialsConnectionBuilder |
class |
ConnectionBuilder.KeyConnectionBuilder |
class |
ConnectionBuilder.TokenConnectionBuilder |
| Constructor and Description |
|---|
ConnectionBuilder() |
ConnectionBuilder(String serverUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected IOpenShiftConfiguration |
createConfiguration() |
ConnectionBuilder.CredentialsConnectionBuilder |
credentials(String password) |
ConnectionBuilder.CredentialsConnectionBuilder |
credentials(String username,
String password) |
protected IOpenShiftConfiguration |
getConfiguration() |
ConnectionBuilder.KeyConnectionBuilder |
key(String authIV,
String authKey) |
ConnectionBuilder.TokenConnectionBuilder |
token(String token) |
public ConnectionBuilder()
throws OpenShiftException,
IOException
OpenShiftExceptionIOExceptionpublic ConnectionBuilder(String serverUrl) throws OpenShiftException, IOException
OpenShiftExceptionIOExceptionprotected IOpenShiftConfiguration getConfiguration()
public ConnectionBuilder.CredentialsConnectionBuilder credentials(String username, String password)
public ConnectionBuilder.CredentialsConnectionBuilder credentials(String password)
public ConnectionBuilder.TokenConnectionBuilder token(String token)
public ConnectionBuilder.KeyConnectionBuilder key(String authIV, String authKey)
protected IOpenShiftConfiguration createConfiguration() throws IOException
IOExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.