public final class VariableDescriptor extends Object implements Comparable<VariableDescriptor>
Modifier and Type | Class and Description |
---|---|
static class |
VariableDescriptor.Builder |
Modifier and Type | Field and Description |
---|---|
private String |
description
A brief description of the variable.
|
private String |
name
The name (or key) of the variable by which all access/lookups to the
value will occur.
|
private boolean |
sensitive
indicates that the value for this variable should be considered sensitive
and protected whenever stored or represented
|
Modifier | Constructor and Description |
---|---|
|
VariableDescriptor(String name)
Convenience constructor to create a descriptor based on name alone.
|
protected |
VariableDescriptor(VariableDescriptor.Builder builder) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(VariableDescriptor o) |
boolean |
equals(Object other) |
String |
getDescription() |
String |
getName() |
int |
hashCode() |
boolean |
isSensitive() |
String |
toString() |
private final String name
private final String description
private final boolean sensitive
public VariableDescriptor(String name)
name
- name used as unique identifier for this descriptorprotected VariableDescriptor(VariableDescriptor.Builder builder)
public int compareTo(VariableDescriptor o)
compareTo
in interface Comparable<VariableDescriptor>
public String getName()
public String getDescription()
public boolean isSensitive()
Copyright © 2022 Apache NiFi Project. All rights reserved.