public abstract class PreConditionComparator<CompareType> extends Object implements SpringSetIdInjectionType
The abstract base class for evaluating PreCondition
checks for
running a MetExtractor
Constructor and Description |
---|
PreConditionComparator() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getId()
Get a unique String id that represents this objects instance
|
boolean |
passes(File product) |
protected abstract int |
performCheck(File product,
CompareType compareItem) |
void |
setCompareItem(CompareType compareItem) |
void |
setDescription(String description) |
void |
setFileExtension(String fileExtension) |
void |
setId(String id)
Set a unique id that represents this objects instance
|
void |
setType(String type) |
public String getId()
SpringSetIdInjectionType
getId
in interface SpringSetIdInjectionType
public void setId(String id)
SpringSetIdInjectionType
setId
in interface SpringSetIdInjectionType
id
- Unique String idpublic boolean passes(File product)
protected abstract int performCheck(File product, CompareType compareItem) throws PreconditionComparatorException
PreconditionComparatorException
public void setFileExtension(String fileExtension)
public void setDescription(String description)
public String getDescription()
public void setType(String type)
public void setCompareItem(CompareType compareItem)
Copyright © 1999–2017 Apache OODT. All rights reserved.