public class SubProductExistenceCheckComparator extends ExistanceCheckComparator
PreConditionComparator
that checks for the existence of an arbitrary file (a "sub-product")
within the product directory.
If the product is not a directory, or the filePath field is not specified, this class behaves
exactly like the superclass ExistanceCheckComparator
.Constructor and Description |
---|
SubProductExistenceCheckComparator() |
Modifier and Type | Method and Description |
---|---|
String |
getFilePath() |
protected int |
performCheck(File product,
Boolean compareItem) |
void |
setFilePath(String filePath)
Sets the sub-product file path (must be relative to the product absolute path).
|
getDescription, getId, passes, setCompareItem, setDescription, setFileExtension, setId, setType
public String getFilePath()
public void setFilePath(String filePath)
protected int performCheck(File product, Boolean compareItem) throws PreconditionComparatorException
performCheck
in class ExistanceCheckComparator
PreconditionComparatorException
Copyright © 1999–2017 Apache OODT. All rights reserved.