public class OsSession extends Object
| Constructor and Description |
|---|
OsSession(OsSettings settings,
ClassLoader contextLoader) |
| Modifier and Type | Method and Description |
|---|---|
static OsSession |
build(OsSettings settings,
ClassLoader contextLoader) |
String |
getEndpointAsProxy() |
List<? extends Flavor> |
getFlavors() |
OSClient |
getOsClient() |
Flavor |
lookupFlavor(String flavorRef)
Checks if there is a flavor defined for the given string.
|
public OsSession(OsSettings settings, ClassLoader contextLoader)
public OSClient getOsClient()
public Flavor lookupFlavor(String flavorRef)
flavorRef - The string representation.null if there is no according flavor.public String getEndpointAsProxy()
public static OsSession build(OsSettings settings, ClassLoader contextLoader)