public class ETConfiguration extends Object
| Constructor and Description |
|---|
ETConfiguration()
Class constructor, Initializes a new instance of the class.
|
ETConfiguration(String file)
Class constructor, Initializes a new instance of ETConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(String key,
String value) |
String |
get(String key) |
String |
getAuthEndpoint()
Deprecated.
Use
get("authEndpoint"). |
String |
getClientId()
Deprecated.
Use
get("clientId"). |
String |
getClientSecret()
Deprecated.
Use
get("clientSecret"). |
String |
getEndpoint()
Deprecated.
Use
get("endpoint"). |
String |
getSoapEndpoint()
Deprecated.
Use
get("soapEndpoint"). |
boolean |
isFalse(String key) |
boolean |
isTrue(String key) |
boolean |
notEquals(String key,
String value) |
void |
set(String key,
String value) |
void |
setAuthEndpoint(String authEndpoint)
Deprecated.
Use
set("authEndpoint", authEndpoint). |
void |
setClientId(String clientId)
Deprecated.
Use
set("clientId", clientId). |
void |
setClientSecret(String clientSecret)
Deprecated.
Use
set("clientSecret", clientSecret). |
void |
setEndpoint(String endpoint)
Deprecated.
Use
set("endpoint", endpoint). |
void |
setSoapEndpoint(String soapEndpoint)
Deprecated.
Use
set("soapEndpoint", soapEndpoint). |
public ETConfiguration()
public ETConfiguration(String file) throws ETSdkException
file - The properties file name.ETSdkExceptionpublic String get(String key)
key - The key of a property.public void set(String key, String value)
key - The key of a property.value - The value of the key.public boolean equals(String key, String value)
key - The key of a property.value - The value of the key.public boolean notEquals(String key, String value)
key - The key of a property.value - The value of the key.public boolean isTrue(String key)
key - The key of a property.public boolean isFalse(String key)
key - The key of a property.@Deprecated public String getClientId()
get("clientId").@Deprecated public void setClientId(String clientId)
set("clientId", clientId).@Deprecated public String getClientSecret()
get("clientSecret").@Deprecated public void setClientSecret(String clientSecret)
set("clientSecret", clientSecret).@Deprecated public String getEndpoint()
get("endpoint").@Deprecated public void setEndpoint(String endpoint)
set("endpoint", endpoint).@Deprecated public String getAuthEndpoint()
get("authEndpoint").@Deprecated public void setAuthEndpoint(String authEndpoint)
set("authEndpoint", authEndpoint).@Deprecated public String getSoapEndpoint()
get("soapEndpoint").@Deprecated public void setSoapEndpoint(String soapEndpoint)
set("soapEndpoint", soapEndpoint).Copyright © 2017. All rights reserved.