public class CallbackContext extends Object
ClusterCallback
can take place in, giving the callback read access to cluster data and user
information that would normally be accessible to the owner of the cluster.Constructor and Description |
---|
CallbackContext(ClusterStoreService clusterStoreService,
UserStore userStore,
Account account) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAccountProfile()
Get the profile of the account that owns the cluster, or null if none exists.
|
ReadOnlyClusterStoreView |
getClusterStoreView()
Get a read only view of the cluster store as seen by the owner of the cluster.
|
public CallbackContext(ClusterStoreService clusterStoreService, UserStore userStore, Account account)
public ReadOnlyClusterStoreView getClusterStoreView()
public Map<String,Object> getAccountProfile() throws IOException
IOException
- if there was an exception getting the profileCopyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.