|
OpenShift Java Client 2.5.0.Final | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use OpenShiftException | |
---|---|
com.openshift.client | |
com.openshift.client.cartridge | |
com.openshift.client.configuration | |
com.openshift.internal.client | |
com.openshift.internal.client.response |
Uses of OpenShiftException in com.openshift.client |
---|
Subclasses of OpenShiftException in com.openshift.client | |
---|---|
class |
InvalidCredentialsOpenShiftException
|
class |
InvalidNameOpenShiftException
|
class |
NotFoundOpenShiftException
|
class |
OpenShiftApplicationNotAvailableException
|
class |
OpenShiftEndpointException
|
class |
OpenShiftRequestException
|
class |
OpenShiftSSHKeyException
|
class |
OpenShiftSSHOperationException
OpenShift Exception that encapsulates an underlying exception that occurred during an SSH operation. |
class |
OpenShiftTimeoutException
|
class |
OpenShiftUnknonwSSHKeyTypeException
|
Methods in com.openshift.client that throw OpenShiftException | |
---|---|
void |
IApplication.addAlias(String string)
Add application alias |
IEmbeddedCartridge |
IApplication.addEmbeddableCartridge(IEmbeddableCartridge cartridge)
Adds the given embeddable cartridge to this application. |
List<IEmbeddedCartridge> |
IApplication.addEmbeddableCartridges(Collection<IEmbeddableCartridge> cartridge)
Adds all given embedded cartridges from this app, given their names. |
IEnvironmentVariable |
IApplication.addEnvironmentVariable(String name,
String value)
Adds an environment variable to this application. |
Map<String,IEnvironmentVariable> |
IApplication.addEnvironmentVariables(Map<String,String> environmentVariables)
Adds a map of environment variables to the application |
static SSHKeyPair |
SSHKeyPair.create(SSHKeyType type,
String passPhrase,
String privateKeyPath,
String publicKeyPath)
Creates private and public ssh-rsa keys and stores them to the given paths. |
static SSHKeyPair |
SSHKeyPair.create(String passPhrase,
String privateKeyPath,
String publicKeyPath)
|
IApplication |
IDomain.createApplication(String name,
IStandaloneCartridge cartridge)
|
IApplication |
IDomain.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale)
|
IApplication |
IDomain.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile)
|
IApplication |
IDomain.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile,
String initialGitUrl)
Creates a new application with the given name and the given cartridge/framework. |
IApplication |
IDomain.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile,
String initialGitUrl,
int timeout,
IEmbeddableCartridge... cartridges)
Creates a new application with the given name and the given cartridge/framework. |
IApplication |
IDomain.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile,
String initialGitUrl,
int timeout,
Map<String,String> environmentVariable,
IEmbeddableCartridge... cartridges)
Creates a new application with the given name and the given cartridge/framework. |
IApplication |
IDomain.createApplication(String name,
IStandaloneCartridge cartridge,
IGearProfile gearProfile)
|
IApplication |
IDomain.createApplication(String name,
IStandaloneCartridge cartridge,
String initialGitUrl)
|
IDomain |
IUser.createDomain(String id)
|
void |
IOpenShiftSSHKey.destroy()
|
void |
IEnvironmentVariable.destroy()
Destroys this environment variable |
void |
IDomain.destroy()
Destroys the current domain. |
void |
IApplication.destroy()
Destroys this application (and removes it from the list of available applications) |
void |
IDomain.destroy(boolean force)
Destroys the current domain, using the 'force' parameter to also destroy the domain applications. |
IApplication |
IDomain.getApplicationByName(String name)
Returns the application identified by the given name. |
List<IApplication> |
IDomain.getApplications()
|
List<IApplication> |
IDomain.getApplicationsByCartridge(IStandaloneCartridge cartridge)
|
List<String> |
IDomain.getAvailableCartridgeNames()
Returns the list of cartridges that can be used to create a new application. |
List<IGearProfile> |
IDomain.getAvailableGearProfiles()
Returns the list of available gear size that the user can choose when creating a new application (application's gear size can't be changed after creation). |
IOpenShiftConnection |
OpenShiftConnectionFactory.getConnection(String clientId,
String password)
Establish a connection with the clientId along with user's password. |
IOpenShiftConnection |
OpenShiftConnectionFactory.getConnection(String clientId,
String username,
String password)
Establish a connection with the clientId along with user's login and password. |
IOpenShiftConnection |
OpenShiftConnectionFactory.getConnection(String clientId,
String username,
String password,
String serverUrl)
Establish a connection with the clientId along with user's login and password. |
protected IOpenShiftConnection |
OpenShiftConnectionFactory.getConnection(String clientId,
String username,
String password,
String serverUrl,
IHttpClient httpClient)
|
IOpenShiftConnection |
OpenShiftConnectionFactory.getConnection(String clientId,
String username,
String password,
String authKey,
String authIV,
String serverUrl)
Establish a connection with the clientId along with user's login and password. |
IDomain |
IUser.getDefaultDomain()
|
IDomain |
IUser.getDomain(String id)
|
List<IDomain> |
IUser.getDomains()
|
List<IDomain> |
IOpenShiftConnection.getDomains()
Returns the domains associated with the current OpenShift connection. |
List<IEmbeddableCartridge> |
IOpenShiftConnection.getEmbeddableCartridges()
Returns the available embeddable cartridges associated with the current OpenShift connection. |
IEmbeddedCartridge |
IApplication.getEmbeddedCartridge(IEmbeddableCartridge cartridge)
Returns the embedded cartridge in this application. |
IEmbeddedCartridge |
IApplication.getEmbeddedCartridge(String cartridgeName)
Returns the embedded cartridge given its name. |
List<IEmbeddedCartridge> |
IApplication.getEmbeddedCartridges()
Returns all embedded cartridges. |
IEnvironmentVariable |
IApplication.getEnvironmentVariable(String name)
Return the environment variable for the specified name |
Collection<IGearGroup> |
IApplication.getGearGroups()
Returns the gear groups for this application. |
RestResponse |
OpenShiftEndpointException.getRestResponse()
|
IOpenShiftSSHKey |
IUser.getSSHKeyByName(String name)
|
IOpenShiftSSHKey |
IUser.getSSHKeyByPublicKey(String publicKey)
|
List<IOpenShiftSSHKey> |
IUser.getSSHKeys()
|
List<IStandaloneCartridge> |
IOpenShiftConnection.getStandaloneCartridges()
Returns the available standalone cartridges associated with the current OpenShift connection. |
IUser |
IOpenShiftConnection.getUser()
Returns the user associated with the current OpenShift connection. |
IUser |
IDomain.getUser()
Returns the currently connected user that manages this domain. |
boolean |
IDomain.hasApplicationByCartridge(IStandaloneCartridge cartridge)
|
boolean |
IDomain.hasApplicationByName(String name)
Returns true if the application identified by the given name exists in the domain. |
boolean |
IUser.hasDomain()
|
boolean |
IUser.hasDomain(String id)
|
boolean |
IApplication.hasEmbeddedCartridge(IEmbeddableCartridge cartridge)
Returns true if this application has an embedded cartridge. |
boolean |
IApplication.hasEmbeddedCartridge(String cartridgeName)
Returns true if this application has an embedded cartridge. |
boolean |
IApplication.hasEnvironmentVariable(String name)
Checks if the environment variable is present in the application. |
boolean |
IUser.hasSSHKeyName(String name)
|
boolean |
IUser.hasSSHPublicKey(String publicKey)
|
static SSHKeyPair |
SSHKeyPair.load(String privateKeyPath,
String publicKeyPath)
Loads existing private and public ssh key from the given paths. |
IOpenShiftSSHKey |
IUser.putSSHKey(String name,
ISSHPublicKey key)
|
void |
IOpenShiftResource.refresh()
Refresh the resource and its list of children resources that were previously loaded |
void |
IApplication.refresh()
Refresh the application but reloading its content from OpenShift. |
void |
IApplication.removeAlias(String alias)
Remove application alias |
void |
IApplication.removeEmbeddedCartridge(IEmbeddableCartridge cartridge)
Removes the given embedded cartridge that is equal to the given embeddable cartridge. |
void |
IApplication.removeEmbeddedCartridges(Collection<IEmbeddableCartridge> cartridges)
Removes the given embedded cartridges in this application that are equal to the given IEmbeddableCartridge. |
void |
IApplication.removeEnvironmentVariable(String name)
Removes the environment variables with the given name from this application. |
void |
IDomain.rename(String id)
Rename the current domain with the given id.... |
void |
IApplication.restart()
Restarts this application. |
void |
IApplication.scaleDown()
Scale down application |
void |
IApplication.scaleUp()
Scale up application |
void |
IOpenShiftSSHKey.setKeyType(SSHKeyType type,
String publicKey)
Sets the new type and public key of this ssh key to the OpenShift PaaS |
void |
IOpenShiftSSHKey.setPublicKey(String publicKey)
Sets the public key portion of this ssh key to the OpenShift PaaS. |
void |
IApplication.start()
Starts this application. |
void |
IApplication.stop()
Stops this application. |
void |
IApplication.stop(boolean force)
Stops this application |
void |
IEnvironmentVariable.update(String value)
Updates this environment variable to the given value. |
boolean |
IApplication.waitForAccessible(long timeout)
Waits for this application to become accessible on its public url. |
Future<Boolean> |
IApplication.waitForAccessibleAsync(long timeout)
Returns a Future that the caller can use to wait for the application to become accessible on its public url. |
Constructors in com.openshift.client that throw OpenShiftException | |
---|---|
InvalidCredentialsOpenShiftException(String url,
HttpClientException cause,
RestResponse restResponse)
|
|
NotFoundOpenShiftException(String url,
HttpClientException e,
RestResponse restResponse)
|
|
SSHPublicKey(File publicKeyFile)
|
|
SSHPublicKey(String publicKeyFilePath)
|
Uses of OpenShiftException in com.openshift.client.cartridge |
---|
Methods in com.openshift.client.cartridge that throw OpenShiftException | |
---|---|
void |
IEmbeddedCartridge.destroy()
Destroys this cartridge (and removes it from the list of existing cartridges) |
URL |
IEmbeddedCartridge.getUrl()
The url at which this cartridge may be reached |
Uses of OpenShiftException in com.openshift.client.configuration |
---|
Constructors in com.openshift.client.configuration that throw OpenShiftException | |
---|---|
DefaultConfiguration()
|
|
OpenShiftConfiguration()
|
|
SystemConfiguration(IOpenShiftConfiguration parentConfiguration)
|
|
SystemProperties(IOpenShiftConfiguration parentConfiguration)
|
|
UserConfiguration(SystemConfiguration systemConfiguration)
|
Uses of OpenShiftException in com.openshift.internal.client |
---|
Methods in com.openshift.internal.client that throw OpenShiftException | ||
---|---|---|
void |
ApplicationResource.addAlias(String alias)
|
|
IEmbeddedCartridge |
ApplicationResource.addEmbeddableCartridge(IEmbeddableCartridge cartridge)
Adds the given embedded cartridge to this application. |
|
List<IEmbeddedCartridge> |
ApplicationResource.addEmbeddableCartridges(Collection<IEmbeddableCartridge> cartridges)
|
|
IEnvironmentVariable |
ApplicationResource.addEnvironmentVariable(String name,
String value)
|
|
Map<String,IEnvironmentVariable> |
ApplicationResource.addEnvironmentVariables(Map<String,String> environmentVariables)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile,
String initialGitUrl)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile,
String initialGitUrl,
int timeout,
IEmbeddableCartridge... cartridges)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale,
IGearProfile gearProfile,
String initialGitUrl,
int timeout,
Map<String,String> environmentVariables,
IEmbeddableCartridge... cartridges)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge,
ApplicationScale scale,
String initialGitUrl)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge,
IGearProfile gearProfile)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge,
IGearProfile gearProfile,
String initialGitUrl)
|
|
IApplication |
DomainResource.createApplication(String name,
IStandaloneCartridge cartridge,
String initialGitUrl)
|
|
IDomain |
UserResource.createDomain(String id)
|
|
IDomain |
APIResource.createDomain(String id)
|
|
void |
SSHKeyResource.destroy()
|
|
void |
EnvironmentVariableResource.destroy()
|
|
void |
EmbeddedCartridgeResource.destroy()
|
|
void |
DomainResource.destroy()
|
|
void |
ApplicationResource.destroy()
|
|
void |
DomainResource.destroy(boolean force)
|
|
protected
|
AbstractOpenShiftResource.ServiceRequest.execute(int timeout,
IMediaType mediaType,
Parameter... parameters)
|
|
protected
|
AbstractOpenShiftResource.ServiceRequest.execute(int timeout,
List<Parameter> urlParameter,
IMediaType mediaType,
Parameter... parameters)
|
|
protected
|
AbstractOpenShiftResource.ServiceRequest.execute(int timeout,
List<Parameter> urlParameter,
Parameter... parameters)
|
|
protected
|
AbstractOpenShiftResource.ServiceRequest.execute(int timeout,
Parameter... parameters)
|
|
protected
|
AbstractOpenShiftResource.ServiceRequest.execute(List<Parameter> urlParameter,
Parameter... parameters)
|
|
protected
|
AbstractOpenShiftResource.ServiceRequest.execute(Parameter... parameters)
|
|
IApplication |
DomainResource.getApplicationByName(String name)
|
|
List<IApplication> |
DomainResource.getApplications()
|
|
List<IApplication> |
DomainResource.getApplicationsByCartridge(IStandaloneCartridge cartridge)
|
|
List<String> |
DomainResource.getAvailableCartridgeNames()
|
|
List<IGearProfile> |
DomainResource.getAvailableGearProfiles()
|
|
protected IOpenShiftConnection |
AbstractOpenShiftConnectionFactory.getConnection(IRestService service,
String login,
String password)
|
|
IDomain |
UserResource.getDefaultDomain()
|
|
IDomain |
UserResource.getDomain(String id)
|
|
IDomain |
APIResource.getDomain(String id)
|
|
List<IDomain> |
UserResource.getDomains()
|
|
List<IDomain> |
APIResource.getDomains()
|
|
List<IEmbeddableCartridge> |
APIResource.getEmbeddableCartridges()
|
|
IEmbeddedCartridge |
ApplicationResource.getEmbeddedCartridge(IEmbeddableCartridge cartridge)
|
|
IEmbeddedCartridge |
ApplicationResource.getEmbeddedCartridge(String cartridgeName)
|
|
List<IEmbeddedCartridge> |
ApplicationResource.getEmbeddedCartridges()
|
|
Map<String,IEnvironmentVariable> |
ApplicationResource.getEnvironmentVariables()
|
|
Collection<IGearGroup> |
ApplicationResource.getGearGroups()
|
|
protected Link |
AbstractOpenShiftResource.getLink(String linkName)
Gets the link for the given name. |
|
protected List<IApplication> |
DomainResource.getOrLoadApplications()
|
|
protected Map<String,IEnvironmentVariable> |
ApplicationResource.getOrLoadEnvironmentVariables()
|
|
IOpenShiftSSHKey |
UserResource.getSSHKeyByName(String name)
|
|
IOpenShiftSSHKey |
UserResource.getSSHKeyByPublicKey(String publicKey)
|
|
List<IOpenShiftSSHKey> |
UserResource.getSSHKeys()
|
|
List<IStandaloneCartridge> |
APIResource.getStandaloneCartridges()
|
|
IUser |
DomainResource.getUser()
|
|
IUser |
APIResource.getUser()
|
|
boolean |
DomainResource.hasApplicationByCartridge(IStandaloneCartridge cartridge)
|
|
boolean |
DomainResource.hasApplicationByName(String name)
|
|
boolean |
UserResource.hasDomain()
|
|
boolean |
UserResource.hasDomain(String id)
|
|
protected boolean |
APIResource.hasDomain(String name)
|
|
boolean |
ApplicationResource.hasEmbeddedCartridge(IEmbeddableCartridge cartridge)
|
|
boolean |
ApplicationResource.hasEmbeddedCartridge(String cartridgeName)
|
|
boolean |
ApplicationResource.hasEnvironmentVariable(String name)
|
|
boolean |
UserResource.hasSSHKeyName(String name)
|
|
boolean |
UserResource.hasSSHPublicKey(String publicKey)
|
|
IOpenShiftSSHKey |
UserResource.putSSHKey(String name,
ISSHPublicKey key)
Adds the given ssh key with the given name. |
|
void |
UserResource.refresh()
|
|
void |
SSHKeyResource.refresh()
|
|
void |
GearGroupResource.refresh()
|
|
void |
EnvironmentVariableResource.refresh()
|
|
void |
EmbeddedCartridgeResource.refresh()
Refreshes the content of this embedded cartridge. |
|
void |
DomainResource.refresh()
|
|
void |
ApplicationResource.refresh()
|
|
void |
APIResource.refresh()
|
|
protected void |
ApplicationResource.refreshEmbeddedCartridges()
Queries the backend to list the embedded cartridges and adds the new ones & update the ones that are already present |
|
void |
ApplicationResource.removeAlias(String alias)
|
|
void |
ApplicationResource.removeEmbeddedCartridge(IEmbeddableCartridge cartridge)
|
|
protected void |
ApplicationResource.removeEmbeddedCartridge(IEmbeddedCartridge embeddedCartridge)
"callback" from the embeddedCartridge once it has been destroyed. |
|
void |
ApplicationResource.removeEmbeddedCartridges(Collection<IEmbeddableCartridge> cartridges)
|
|
void |
DomainResource.rename(String id)
|
|
RestResponse |
RestService.request(Link link,
int timeout,
IMediaType requestMediaType,
Parameter... parameters)
|
|
RestResponse |
IRestService.request(Link link,
int timeout,
IMediaType mediaType,
Parameter... parameters)
Requests the given link sending the given parameters while encoding the parameters with the given media type and respecting the given timeout. |
|
RestResponse |
RestService.request(Link link,
int timeout,
List<Parameter> urlParameters,
IMediaType requestMediaType,
Parameter... parameters)
|
|
RestResponse |
IRestService.request(Link link,
int timeout,
List<Parameter> urlParameters,
IMediaType mediaType,
Parameter... parameters)
|
|
RestResponse |
RestService.request(Link link,
int timeout,
List<Parameter> urlParameters,
Parameter... parameters)
|
|
RestResponse |
IRestService.request(Link link,
int timeout,
List<Parameter> urlParameters,
Parameter... parameters)
|
|
RestResponse |
RestService.request(Link link,
int timeout,
Parameter... parameters)
|
|
RestResponse |
IRestService.request(Link link,
int timeout,
Parameter... parameters)
|
|
RestResponse |
RestService.request(Link link,
List<Parameter> urlParameters,
Parameter... parameters)
|
|
RestResponse |
IRestService.request(Link link,
List<Parameter> urlParameters,
Parameter... parameters)
|
|
RestResponse |
RestService.request(Link link,
Parameter... parameters)
|
|
RestResponse |
IRestService.request(Link link,
Parameter... parameters)
|
|
void |
ApplicationResource.restart()
|
|
void |
ApplicationResource.scaleDown()
|
|
void |
ApplicationResource.scaleUp()
|
|
void |
SSHKeyResource.setKeyType(SSHKeyType type,
String publicKey)
|
|
void |
SSHKeyResource.setPublicKey(String publicKey)
|
|
void |
ApplicationResource.start()
|
|
void |
ApplicationResource.stop()
|
|
void |
ApplicationResource.stop(boolean force)
|
|
void |
EnvironmentVariableResource.update(String newValue)
|
|
protected void |
ApplicationResource.updateEnvironmentVariables()
|
|
boolean |
ApplicationResource.waitForAccessible(long timeout)
|
|
Future<Boolean> |
ApplicationResource.waitForAccessibleAsync(long timeout)
|
Uses of OpenShiftException in com.openshift.internal.client.response |
---|
Methods in com.openshift.internal.client.response that throw OpenShiftException | |
---|---|
RestResponse |
OpenShiftJsonDTOFactory.get(String json)
|
RestResponse |
IRestResponseFactory.get(String restResponse)
Returns a RestResponse instance for a given rest response string. |
|
OpenShift Java Client 2.5.0.Final | |||||||||
PREV NEXT | FRAMES NO FRAMES |