Package org.apache.storm.scheduler.utils
Class ArtifactoryConfigLoaderFactory
java.lang.Object
org.apache.storm.scheduler.utils.ArtifactoryConfigLoaderFactory
- All Implemented Interfaces:
- IConfigLoaderFactory
@AutoService(IConfigLoaderFactory.class)
public class ArtifactoryConfigLoaderFactory
extends Object
implements IConfigLoaderFactory
Factory class for ArtifactoryConfigLoader.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateIfSupported(URI uri, Map<String, Object> conf) Create a ArtifactoryConfigLoader if the scheme of the URI is "artifactory+http" or "artifactory+https"; otherwise return null.
- 
Constructor Details- 
ArtifactoryConfigLoaderFactorypublic ArtifactoryConfigLoaderFactory()
 
- 
- 
Method Details- 
createIfSupportedCreate a ArtifactoryConfigLoader if the scheme of the URI is "artifactory+http" or "artifactory+https"; otherwise return null.- Specified by:
- createIfSupportedin interface- IConfigLoaderFactory
- Parameters:
- uri- The URI which pointing to the config file/directory location on Artifactory server.
- conf- The storm configuration.
- Returns:
- A ArtifactoryConfigLoader if the scheme is "artifactory+http" or "artifactory+https"; otherwise, null.
 
 
-