Class PackageUrlValidator
java.lang.Object
org.apache.pulsar.functions.worker.PackageUrlValidator
Validates package URLs for functions and connectors.
Validates that the package URL is either a file in the connectors or functions directory
when referencing connector or function files is enabled, or matches one of the additional url patterns.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValidPackageUrl(org.apache.pulsar.functions.proto.Function.FunctionDetails.ComponentType componentType, String functionPkgUrl)
-
Constructor Details
-
PackageUrlValidator
-
-
Method Details
-
isValidPackageUrl
public boolean isValidPackageUrl(org.apache.pulsar.functions.proto.Function.FunctionDetails.ComponentType componentType, String functionPkgUrl)
-