public class MetExtractorSpec extends Object
A specification for instantiating MetExtractor
s
Constructor and Description |
---|
MetExtractorSpec()
Default Constructor.
|
MetExtractorSpec(String className,
String configFile,
List<String> preCondComparatorIds)
Constructs a new spec with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
MetExtractor |
getMetExtractor() |
List<String> |
getPreCondComparatorIds() |
void |
setExtractorConfigFile(String extractorConfigFile) |
void |
setMetExtractor(String extractorClassName) |
void |
setPreConditionComparatorIds(List<String> preCondComparatorIds) |
public MetExtractorSpec()
public MetExtractorSpec(String className, String configFile, List<String> preCondComparatorIds) throws InstantiationException
className
- The name of the MetExtractor
impl class.configFile
- The name of the configuration file used to configure This
MetExtractor
described by this class.InstantiationException
public MetExtractor getMetExtractor()
public void setMetExtractor(String extractorClassName) throws InstantiationException, IllegalAccessException, ClassNotFoundException, MetExtractionException
extractorClassName
- the extractorClassName to setClassNotFoundException
IllegalAccessException
InstantiationException
MetExtractionException
public void setExtractorConfigFile(String extractorConfigFile) throws MetExtractionException
extractorConfigFile
- the extractorConfigFile to setMetExtractionException
public List<String> getPreCondComparatorIds()
public void setPreConditionComparatorIds(List<String> preCondComparatorIds)
preconditionsFile
- The extractor preconditions fileIllegalAccessException
InstantiationException
ClassNotFoundException
FileNotFoundException
Copyright © 1999-2014 Apache OODT. All Rights Reserved.