org.kuali.common.util.execute
Class ConvertTableListingTextFileExecutable

java.lang.Object
  extended by org.kuali.common.util.execute.ConvertTableListingTextFileExecutable
All Implemented Interfaces:
Executable

public class ConvertTableListingTextFileExecutable
extends Object
implements Executable


Constructor Summary
ConvertTableListingTextFileExecutable()
           
 
Method Summary
 void execute()
           
 String getArtifactId()
           
 File getOutputDir()
           
protected  File getOutputFile(File outputDir, String prefix, String vendor, String artifactId)
           
 String getPrefix()
           
protected  List<String> getResources(List<String> tableNames, String vendor, String prefix, String suffix)
           
 String getSuffix()
           
 List<String> getVendors()
           
 boolean isSkip()
           
 void setArtifactId(String artifactId)
           
 void setOutputDir(File outputDir)
           
 void setPrefix(String prefix)
           
 void setSkip(boolean skip)
           
 void setSuffix(String suffix)
           
 void setVendors(List<String> vendors)
           
protected  void validateResources(List<String> resources)
           
protected  void writeLines(File file, List<String> lines)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertTableListingTextFileExecutable

public ConvertTableListingTextFileExecutable()
Method Detail

execute

public void execute()
Specified by:
execute in interface Executable

validateResources

protected void validateResources(List<String> resources)

writeLines

protected void writeLines(File file,
                          List<String> lines)

getOutputFile

protected File getOutputFile(File outputDir,
                             String prefix,
                             String vendor,
                             String artifactId)

getResources

protected List<String> getResources(List<String> tableNames,
                                    String vendor,
                                    String prefix,
                                    String suffix)

getVendors

public List<String> getVendors()

setVendors

public void setVendors(List<String> vendors)

getSuffix

public String getSuffix()

setSuffix

public void setSuffix(String suffix)

getPrefix

public String getPrefix()

setPrefix

public void setPrefix(String prefix)

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String artifactId)

getOutputDir

public File getOutputDir()

setOutputDir

public void setOutputDir(File outputDir)

isSkip

public boolean isSkip()

setSkip

public void setSkip(boolean skip)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.