public class ClientTool extends Object
| Constructor and Description |
|---|
ClientTool() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientName(String clientId)
Get the name of a client.
|
String |
getProperty(String property) |
boolean |
getProperty(String property,
Boolean fallback) |
String |
getProperty(String property,
String fallback) |
String |
getServerId() |
boolean |
isGlobalClient() |
public String getClientName(String clientId)
clientId - the ID of the client whose name should be returned. Can be null get the name of
the current client.public String getProperty(String property)
property - The property.public boolean getProperty(String property, Boolean fallback)
property - The property.fallback - The fallback.public String getProperty(String property, String fallback)
property - The property.fallback - The fallback.public String getServerId()
public boolean isGlobalClient()
Copyright © 2019 Communote team. All rights reserved.