|
OpenShift Java Client 2.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openshift.internal.client.AbstractOpenShiftResource
com.openshift.internal.client.APIResource
public class APIResource
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.openshift.internal.client.AbstractOpenShiftResource |
---|
AbstractOpenShiftResource.Parameters, AbstractOpenShiftResource.ServiceRequest |
Constructor Summary | |
---|---|
protected |
APIResource(String login,
String password,
IRestService service,
Map<String,Link> links)
|
Method Summary | |
---|---|
IDomain |
createDomain(String id)
|
void |
disconnect()
|
IDomain |
getDefaultDomain()
|
IDomain |
getDomain(String id)
|
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. |
protected String |
getLogin()
|
protected String |
getPassword()
|
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. |
protected boolean |
hasDomain(String name)
|
void |
refresh()
Refresh the resource and its list of children resources that were previously loaded |
protected void |
removeDomain(IDomain domain)
Called after a domain has been destroyed |
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 |
Methods inherited from class com.openshift.internal.client.AbstractOpenShiftResource |
---|
getCreationLog, getLink, getMessages, hasCreationLog, setLinks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected APIResource(String login, String password, IRestService service, Map<String,Link> links)
Method Detail |
---|
protected final String getLogin()
protected final String getPassword()
public String getServer()
IOpenShiftConnection
getServer
in interface IOpenShiftConnection
public void setEnableSSLCertChecks(boolean doSSLChecks)
IOpenShiftConnection
setEnableSSLCertChecks
in interface IOpenShiftConnection
public void setProxySet(boolean proxySet)
IOpenShiftConnection
setProxySet
in interface IOpenShiftConnection
public void setProxyHost(String proxyHost)
IOpenShiftConnection
setProxyHost
in interface IOpenShiftConnection
public void setProxyPort(String proxyPort)
IOpenShiftConnection
setProxyPort
in interface IOpenShiftConnection
public IUser getUser() throws OpenShiftException
IOpenShiftConnection
getUser
in interface IOpenShiftConnection
OpenShiftException
public List<IDomain> getDomains() throws OpenShiftException
IOpenShiftConnection
getDomains
in interface IOpenShiftConnection
OpenShiftException
public IDomain getDomain(String id) throws OpenShiftException
OpenShiftException
public IDomain getDefaultDomain()
public IDomain createDomain(String id) throws OpenShiftException
OpenShiftException
public List<IStandaloneCartridge> getStandaloneCartridges() throws OpenShiftException
IOpenShiftConnection
getStandaloneCartridges
in interface IOpenShiftConnection
OpenShiftException
public List<IEmbeddableCartridge> getEmbeddableCartridges() throws OpenShiftException
IOpenShiftConnection
getEmbeddableCartridges
in interface IOpenShiftConnection
OpenShiftException
public void refresh() throws OpenShiftException
IOpenShiftResource
refresh
in interface IOpenShiftResource
OpenShiftException
protected void removeDomain(IDomain domain)
domain
- the domain to remove from the API's domains list.protected boolean hasDomain(String name) throws OpenShiftException
OpenShiftException
public ExecutorService getExecutorService()
IOpenShiftConnection
getExecutorService
in interface IOpenShiftConnection
ExecutorService
,
Executors
public void disconnect()
|
OpenShift Java Client 2.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |