@AutoService(value=IConfigLoaderFactory.class) public class ArtifactoryConfigLoaderFactory extends Object implements IConfigLoaderFactory
Factory class for ArtifactoryConfigLoader.
Constructor and Description |
---|
ArtifactoryConfigLoaderFactory() |
Modifier and Type | Method and Description |
---|---|
IConfigLoader |
createIfSupported(URI uri,
Map<String,Object> conf)
Create a ArtifactoryConfigLoader if the scheme of the URI is “artifactory+http” or “artifactory+https”; otherwise return null.
|
public IConfigLoader createIfSupported(URI uri, Map<String,Object> conf)
Create a ArtifactoryConfigLoader if the scheme of the URI is “artifactory+http” or “artifactory+https”; otherwise return null.
createIfSupported
in interface IConfigLoaderFactory
uri
- The URI which pointing to the config file/directory location on Artifactory server.conf
- The storm configuration.Copyright © 2022 The Apache Software Foundation. All rights reserved.