public class StandardResourceDefinition extends Object implements ResourceDefinition
Modifier and Type | Field and Description |
---|---|
private ResourceCardinality |
cardinality |
private Set<ResourceType> |
resourceTypes |
Constructor and Description |
---|
StandardResourceDefinition(ResourceCardinality cardinality,
Set<ResourceType> resourceTypes) |
Modifier and Type | Method and Description |
---|---|
ResourceCardinality |
getCardinality()
Specifies the number of resources that should be reference-able by a component property
|
Set<ResourceType> |
getResourceTypes() |
private final ResourceCardinality cardinality
private final Set<ResourceType> resourceTypes
public StandardResourceDefinition(ResourceCardinality cardinality, Set<ResourceType> resourceTypes)
public ResourceCardinality getCardinality()
ResourceDefinition
getCardinality
in interface ResourceDefinition
public Set<ResourceType> getResourceTypes()
getResourceTypes
in interface ResourceDefinition
Copyright © 2022 Apache NiFi Project. All rights reserved.