Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/org/apache/nifi/action/Component.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ public enum Component {
AccessPolicy,
User,
UserGroup,
Label;
Label
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ enum Requirement {
* to the Processor. As a result, this value can be used in order to clarify that incoming
* connections will not be used. This prevents the user from even creating such a connection.
*/
INPUT_FORBIDDEN;
INPUT_FORBIDDEN
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ public enum PrimaryNodeState {
* The node receiving this state was the Primary Node but has now had its Primary Node
* role revoked.
*/
PRIMARY_NODE_REVOKED;
PRIMARY_NODE_REVOKED
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ public enum Outcome {

FAILED,

SKIPPED;
SKIPPED
}
}
2 changes: 1 addition & 1 deletion src/main/java/org/apache/nifi/components/PortFunction.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ public enum PortFunction {
* Port denotes that the invocation of the stateless flow has failed. If run using the Standard Engine, will operate as a Standard port. If running
* using the Stateless Engine, the transaction is rolled back, and any input FlowFiles will be transferred to this Port.
*/
FAILURE;
FAILURE
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public enum RequiredPermission {
EXPORT_NIFI_DETAILS("export-nifi-details", "export nifi details"),
REFERENCE_REMOTE_RESOURCES("reference-remote-resources", "reference remote resources");

private String permissionIdentifier;
private String permissionLabel;
private final String permissionIdentifier;
private final String permissionLabel;

RequiredPermission(String permissionIdentifier, String permissionLabel) {
this.permissionIdentifier = permissionIdentifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ public enum ResourceCardinality {
/**
* One or more resources may be supplied, as a comma-separated list
*/
MULTIPLE;
MULTIPLE
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ public enum ScheduledState {

STOPPING,

RUN_ONCE;
RUN_ONCE
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ public enum FlowFileAvailability {

HEAD_OF_QUEUE_PENALIZED,

FLOWFILE_AVAILABLE;
FLOWFILE_AVAILABLE
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ public enum LoadBalanceStatus {

LOAD_BALANCE_ACTIVE,

LOAD_BALANCE_INACTIVE;
LOAD_BALANCE_INACTIVE
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ public enum RunStatus {
Stopped,
Validating,
Invalid,
Disabled;
Disabled
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
public enum TransmissionStatus {

Transmitting,
NotTransmitting;
NotTransmitting
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ public enum ExtensionType {

PARAMETER_PROVIDER,

FLOW_REGISTRY_CLIENT;
FLOW_REGISTRY_CLIENT
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ public interface AttributeExpression {
ResultType getResultType();

enum ResultType {
STRING, BOOLEAN, WHOLE_NUMBER, DATE, INSTANT, DECIMAL, NUMBER;
STRING, BOOLEAN, WHOLE_NUMBER, DATE, INSTANT, DECIMAL, NUMBER
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public enum ExpressionLanguageScope {
*/
FLOWFILE_ATTRIBUTES("Environment variables and FlowFile Attributes");

private String description;
private final String description;

ExpressionLanguageScope(String description) {
this.description = description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ public enum ConnectableComponentType {
REMOTE_OUTPUT_PORT,
INPUT_PORT,
OUTPUT_PORT,
FUNNEL;
FUNNEL
}
2 changes: 1 addition & 1 deletion src/main/java/org/apache/nifi/flow/ExecutionEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ public enum ExecutionEngine {
/**
* Use the Execution Engine that is configured for the parent Process Group. If there is no parent Process Group, default to the standard engine.
*/
INHERITED;
INHERITED
}
2 changes: 1 addition & 1 deletion src/main/java/org/apache/nifi/flow/PortType.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@

public enum PortType {
INPUT_PORT,
OUTPUT_PORT;
OUTPUT_PORT
}
2 changes: 1 addition & 1 deletion src/main/java/org/apache/nifi/flow/ScheduledState.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
public enum ScheduledState {
ENABLED,
DISABLED,
RUNNING;
RUNNING
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public enum VersionedResourceCardinality {
/**
* One or more resources may be supplied, as a comma-separated list
*/
MULTIPLE;
MULTIPLE

}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ public enum VersionedResourceType {
* Referenced Resource is a URL that uses the HTTP, HTTPS, or file protocol
* (i.e., <code>http://...</code>, <code>https://...</code>, or <code>file:...</code>)
*/
URL;
URL

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ public enum EnforcementPolicy {
* Rules with this enforcement policy also invalidate the corresponding components and fixing
* these problems are to be considered mandatory.
*/
ENFORCE;
ENFORCE
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@

public enum FlowAnalysisRuleState {
ENABLED,
DISABLED;
DISABLED
}
2 changes: 1 addition & 1 deletion src/main/java/org/apache/nifi/logging/LogLevel.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ public enum LogLevel {
WARN,
ERROR,
FATAL,
NONE;
NONE
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public enum ParameterSensitivity {
SENSITIVE("Sensitive"),
NON_SENSITIVE("Non-Sensitive");

private String name;
private final String name;

ParameterSensitivity(final String name) {
this.name = name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@ public enum ProvenanceEventType {
* Indicates that the type of the provenance event is unknown because the user
* who is attempting to access the event is not authorize to know the type.
*/
UNKNOWN;
UNKNOWN
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@

public enum RegisterAction {
COMMIT,
FORCE_COMMIT;
FORCE_COMMIT
}
2 changes: 1 addition & 1 deletion src/main/java/org/apache/nifi/reporting/ComponentType.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ public enum ComponentType {
/**
* Bulletin is associated with a Flow Registry Client
*/
FLOW_REGISTRY_CLIENT;
FLOW_REGISTRY_CLIENT
}
2 changes: 1 addition & 1 deletion src/main/java/org/apache/nifi/reporting/Severity.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ public enum Severity {

INFO,
WARNING,
ERROR;
ERROR
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ public enum ExecutionNode {
/**
* A Component will be scheduled to run on the primary node only.
*/
PRIMARY;
PRIMARY
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
package org.apache.nifi.components;

public enum EnumNotDescribedValue {
GREEN, RED, BLUE;
GREEN, RED, BLUE
}