new Endpoint()
- Description:
The Endpoint class is a static class that is used to set the endpoints of the web services.
Here you can set mode for test or deployment, and set URLs for each service.
- Source:
Methods
(static) setDeploymentMode(modeopt)
- Description:
Changes to deployment mode because always test mode starts.
- Source:
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
mode |
boolean |
<optional> |
true
|
The new mode to set. Set to |
(static) setMode(mode)
- Description:
Sets the deployment mode.
- Source:
- Deprecated:
- Use Endpoint.setDeploymentMode instead.
Parameters:
| Name | Type | Description |
|---|---|---|
mode |
boolean | The new mode to set. |
(static) setUrl(service, url, deploymentMode)
- Source:
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
service |
is index integer. |
||
url |
is a string for that endpoint. |
||
deploymentMode |
false
|
is boolean with true. False to test. |