public class CloudProps extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getCloudHost()
Return the cloud host of the app.
|
String |
getEnv()
Gets the environment of the cloud app.
|
static String |
getInitValue()
Gets tracking data from init data.
|
static CloudProps |
getInstance() |
static CloudProps |
init(JSONObject pCloudProps)
Gets the instance of CloudProps via a JSONObject.
|
static CloudProps |
initDev()
Gets the instance of CloudProps for local development.
|
static CloudProps |
load()
Gets the instance of the CloudProps based on local cached data if exists.
|
void |
save()
Saves the details of the cloud app to the device.
|
public String getCloudHost()
public String getEnv()
public void save()
public static CloudProps initDev()
public static CloudProps init(JSONObject pCloudProps)
pCloudProps - the JSONObjct contains the details of the cloud apppublic static CloudProps load()
public static CloudProps getInstance()
public static String getInitValue()
Copyright © 2016 Red Hat. All rights reserved.