OpenShift Java Client 2.5.0.Final

com.openshift.client
Interface IOpenShiftConnection

All Known Implementing Classes:
APIResource

public interface IOpenShiftConnection

Author:
Xavier Coulon, Andre Dietisheim

Method Summary
 List<IDomain> getDomains()
          Returns the domains associated with the current OpenShift connection.
 List<IEmbeddableCartridge> getEmbeddableCartridges()
          Returns the available embeddable cartridges associated with the current OpenShift connection.
 ExecutorService getExecutorService()
          Returns the executor service instance that's available in this connection.
 String getServer()
          Returns the server this connection is bound to.
 List<IStandaloneCartridge> getStandaloneCartridges()
          Returns the available standalone cartridges associated with the current OpenShift connection.
 IUser getUser()
          Returns the user associated with the current OpenShift connection.
 void setEnableSSLCertChecks(boolean doSSLChecks)
          Sets flag for enabling SSL certificate checks (i.e.
 void setProxyHost(String proxyHost)
          Sets the HTTP proxy hostname
 void setProxyPort(String proxyPort)
          Sets the HTTP proxy port
 void setProxySet(boolean proxySet)
          Sets flag for using an HTTP proxy
 

Method Detail

getServer

String getServer()
Returns the server this connection is bound to.

Returns:
the server

getUser

IUser getUser()
              throws OpenShiftException
Returns the user associated with the current OpenShift connection.

Returns:
the user
Throws:
OpenShiftException

getDomains

List<IDomain> getDomains()
                         throws OpenShiftException
Returns the domains associated with the current OpenShift connection.

Returns:
the domains
Throws:
OpenShiftException

getStandaloneCartridges

List<IStandaloneCartridge> getStandaloneCartridges()
                                                   throws OpenShiftException
Returns the available standalone cartridges associated with the current OpenShift connection.

Returns:
the available standalone cartridges
Throws:
OpenShiftException

getEmbeddableCartridges

List<IEmbeddableCartridge> getEmbeddableCartridges()
                                                   throws OpenShiftException
Returns the available embeddable cartridges associated with the current OpenShift connection.

Returns:
the available embeddable cartridges
Throws:
OpenShiftException

setEnableSSLCertChecks

void setEnableSSLCertChecks(boolean doSSLChecks)
Sets flag for enabling SSL certificate checks (i.e. self-signed SSL certificates)

Parameters:
doSSLChecks -

setProxySet

void setProxySet(boolean proxySet)
Sets flag for using an HTTP proxy

Parameters:
proxySet -

setProxyHost

void setProxyHost(String proxyHost)
Sets the HTTP proxy hostname

Parameters:
proxyHost -

setProxyPort

void setProxyPort(String proxyPort)
Sets the HTTP proxy port

Parameters:
proxyPort -

getExecutorService

ExecutorService getExecutorService()
Returns the executor service instance that's available in this connection.

Returns:
the executor service instance for this connection
See Also:
ExecutorService, Executors

OpenShift Java Client 2.5.0.Final

Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.