java.lang.Object
org.apache.nifi.components.resource.StandardResourceDefinition
- All Implemented Interfaces:
ResourceDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionStandardResourceDefinition(ResourceCardinality cardinality, Set<ResourceType> resourceTypes) -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the number of resources that should be reference-able by a component property
-
Constructor Details
-
StandardResourceDefinition
-
-
Method Details
-
getCardinality
Description copied from interface:ResourceDefinitionSpecifies the number of resources that should be reference-able by a component property- Specified by:
getCardinalityin interfaceResourceDefinition- Returns:
- the cardinality for the number of resources that should be referenced
-
getResourceTypes
- Specified by:
getResourceTypesin interfaceResourceDefinition- Returns:
- the types of resources that are allowed to be referenced
-