public class ClusterContextImpl extends Object implements ClusterContext, Serializable
| Modifier and Type | Field and Description |
|---|---|
private List<Action> |
actions |
private String |
idGenerationSeed |
private boolean |
requestSentByClusterManager |
private Revision |
revision |
| Constructor and Description |
|---|
ClusterContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Action> |
getActions()
Returns a list of auditable actions.
|
String |
getIdGenerationSeed()
Gets an id generation seed.
|
Revision |
getRevision() |
boolean |
isRequestSentByClusterManager() |
void |
setRequestSentByClusterManager(boolean requestSentByClusterManager)
Sets the flag to indicate if a request was sent by the cluster manager.
|
void |
setRevision(Revision revision) |
private Revision revision
private boolean requestSentByClusterManager
private final String idGenerationSeed
public List<Action> getActions()
ClusterContextgetActions in interface ClusterContextpublic Revision getRevision()
getRevision in interface ClusterContextpublic void setRevision(Revision revision)
setRevision in interface ClusterContextpublic boolean isRequestSentByClusterManager()
isRequestSentByClusterManager in interface ClusterContextpublic void setRequestSentByClusterManager(boolean requestSentByClusterManager)
ClusterContextsetRequestSentByClusterManager in interface ClusterContextrequestSentByClusterManager - true if the request was sent by the cluster manager; false
otherwisepublic String getIdGenerationSeed()
ClusterContextgetIdGenerationSeed in interface ClusterContextCopyright © 2016 Apache NiFi Project. All rights reserved.