net.sourceforge.crudo.gen.file
Class FolderSetup
java.lang.Object
net.sourceforge.crudo.gen.file.FolderSetup
- All Implemented Interfaces:
- CrudoConstants, IActionCommand
public class FolderSetup
- extends java.lang.Object
- implements IActionCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEMPLATE_FILE_NAME
public static final java.lang.String TEMPLATE_FILE_NAME
- See Also:
- Constant Field Values
STYLE_FILE_NAME
public static final java.lang.String STYLE_FILE_NAME
- See Also:
- Constant Field Values
FILE_EXTENSION
public static final java.lang.String FILE_EXTENSION
- See Also:
- Constant Field Values
FolderSetup
public FolderSetup()
execute
public void execute(java.util.Map<java.lang.String,java.lang.Object> context)
throws java.lang.Exception
- Specified by:
execute
in interface IActionCommand
- Throws:
java.lang.Exception
baseFolderExists
protected boolean baseFolderExists()
templateExists
protected boolean templateExists()
styleExists
protected boolean styleExists()
functionFolderExists
protected boolean functionFolderExists()
functionViewExists
protected boolean functionViewExists()
createBaseFolder
public void createBaseFolder()
throws java.io.IOException
- Throws:
java.io.IOException
createTemplate
public void createTemplate()
throws java.lang.Exception
- Throws:
java.lang.Exception
createFunctionFolder
public void createFunctionFolder()
throws java.io.IOException
- Throws:
java.io.IOException
getBaseFolderName
public java.lang.String getBaseFolderName()
setBaseFolderName
public void setBaseFolderName(java.lang.String baseFolderName)
getFunctionName
public java.lang.String getFunctionName()
setFunctionName
public void setFunctionName(java.lang.String functionName)