public class ExternPreconditionComparator extends PreConditionComparator<Long>
The pre-condition comparator to use when you have an external script or
application using ExecUtils
that will perform some processing and
return the result to be checked against the compareItem.
Constructor and Description |
---|
ExternPreconditionComparator() |
Modifier and Type | Method and Description |
---|---|
String |
getExecuteCommand() |
protected int |
performCheck(File product,
Long compareItem) |
void |
setExecuteCommand(String cmd) |
getDescription, getId, passes, setCompareItem, setDescription, setFileExtension, setId, setType
protected static final Logger LOG
public void setExecuteCommand(String cmd)
public String getExecuteCommand()
protected int performCheck(File product, Long compareItem) throws PreconditionComparatorException
performCheck
in class PreConditionComparator<Long>
PreconditionComparatorException
Copyright © 1999–2017 Apache OODT. All rights reserved.