public class MoveFile extends CrawlerAction
Product
file as a reponse to a Crawler lifecycle phaseLOG, phases
Constructor and Description |
---|
MoveFile() |
Modifier and Type | Method and Description |
---|---|
String |
getToDir() |
boolean |
performAction(File product,
Metadata productMetadata) |
void |
setCreateToDir(boolean createToDir) |
void |
setFile(String file) |
void |
setFileExtension(String fileExtension) |
void |
setToDir(String toDir) |
void |
validate() |
equals, getDescription, getId, getPhases, hashCode, setDescription, setId, setPhases
public boolean performAction(File product, Metadata productMetadata) throws CrawlerActionException
performAction
in class CrawlerAction
CrawlerActionException
public void validate() throws CrawlerActionException
validate
in class CrawlerAction
CrawlerActionException
public void setCreateToDir(boolean createToDir)
public void setFile(String file)
public void setToDir(String toDir)
public String getToDir()
public void setFileExtension(String fileExtension)
Copyright © 1999–2017 Apache OODT. All rights reserved.