com.stackify.api.common
public class AppIdentityService extends Object
| Constructor and Description |
|---|
AppIdentityService(ApiConfiguration apiConfig,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<AppIdentity> |
getAppIdentity()
getAppIdentity
|
com.google.common.base.Optional<AppIdentity> |
getAppIdentity(String applicationName)
Retrieves the application identity given the environment details
|
public AppIdentityService(ApiConfiguration apiConfig, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
apiConfig - The API configurationobjectMapper - Jackson object mapperpublic com.google.common.base.Optional<AppIdentity> getAppIdentity(String applicationName)
applicationName - - name of the applicationpublic com.google.common.base.Optional<AppIdentity> getAppIdentity()
Copyright © 2015 Stackify, LLC. All Rights Reserved.