|
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 IOpenShiftConnectionpublic void setEnableSSLCertChecks(boolean doSSLChecks)
IOpenShiftConnection
setEnableSSLCertChecks in interface IOpenShiftConnectionpublic void setProxySet(boolean proxySet)
IOpenShiftConnection
setProxySet in interface IOpenShiftConnectionpublic void setProxyHost(String proxyHost)
IOpenShiftConnection
setProxyHost in interface IOpenShiftConnectionpublic void setProxyPort(String proxyPort)
IOpenShiftConnection
setProxyPort in interface IOpenShiftConnection
public IUser getUser()
throws OpenShiftException
IOpenShiftConnection
getUser in interface IOpenShiftConnectionOpenShiftException
public List<IDomain> getDomains()
throws OpenShiftException
IOpenShiftConnection
getDomains in interface IOpenShiftConnectionOpenShiftException
public IDomain getDomain(String id)
throws OpenShiftException
OpenShiftExceptionpublic IDomain getDefaultDomain()
public IDomain createDomain(String id)
throws OpenShiftException
OpenShiftException
public List<IStandaloneCartridge> getStandaloneCartridges()
throws OpenShiftException
IOpenShiftConnection
getStandaloneCartridges in interface IOpenShiftConnectionOpenShiftException
public List<IEmbeddableCartridge> getEmbeddableCartridges()
throws OpenShiftException
IOpenShiftConnection
getEmbeddableCartridges in interface IOpenShiftConnectionOpenShiftException
public void refresh()
throws OpenShiftException
IOpenShiftResource
refresh in interface IOpenShiftResourceOpenShiftExceptionprotected void removeDomain(IDomain domain)
domain - the domain to remove from the API's domains list.
protected boolean hasDomain(String name)
throws OpenShiftException
OpenShiftExceptionpublic ExecutorService getExecutorService()
IOpenShiftConnection
getExecutorService in interface IOpenShiftConnectionExecutorService,
Executorspublic 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 | |||||||||