public class Revision extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
private String |
clientId
the client ID
|
private String |
componentId
the ID of the component that this revision belongs to, or
null if
the revision is not attached to any component but rather is attached to the entire
data flow. |
private static long |
serialVersionUID |
private Long |
version
the version number
|
| Constructor and Description |
|---|
Revision(Long version,
String clientId,
String componentId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClientId() |
String |
getComponentId() |
Long |
getVersion() |
int |
hashCode() |
Revision |
incrementRevision(String clientId)
Returns a new Revision that has the same Client ID and Component ID as this one
but with a larger version
|
String |
toString() |
private static final long serialVersionUID
private final Long version
private final String clientId
private final String componentId
null if
the revision is not attached to any component but rather is attached to the entire
data flow.public String getClientId()
public Long getVersion()
public String getComponentId()
public Revision incrementRevision(String clientId)
Copyright © 2023 Apache NiFi Project. All rights reserved.