|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.update.JFWUpdate
public abstract class JFWUpdate
The update classes extends this one.
Constructor Summary | |
---|---|
JFWUpdate()
|
Method Summary | |
---|---|
protected void |
cleanWebWork(java.lang.String webWorkPath)
Delete the work directory of the application server. |
protected void |
deleteFile(java.lang.String path,
java.lang.String fileName)
Delete a file. |
protected java.util.ArrayList |
getFiles()
Return the names of the files present in the update directory. |
protected java.lang.String |
getGenericFilePath()
Get value of key update_generic_file_path by jfw.properties. |
protected java.lang.String |
getUpdateSrcPath()
Get value of key update_src_path by jfw.properties. |
protected java.lang.String |
getUpdateWebTargetPath()
Get value of key update_web_target_path by jfw.properties. |
protected java.lang.String |
getWebappPath()
Get value of key update_web_app by jfw.properties. |
protected java.lang.String |
getWebWorkPath()
Get value of key update_web_work by jfw.properties. |
abstract boolean |
start()
Must be implement by subclasses. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JFWUpdate()
Method Detail |
---|
public abstract boolean start() throws java.lang.Exception
java.lang.Exception
protected java.lang.String getUpdateSrcPath()
protected java.lang.String getUpdateWebTargetPath()
protected java.lang.String getWebappPath()
protected java.lang.String getWebWorkPath()
protected java.lang.String getGenericFilePath()
protected java.util.ArrayList getFiles() throws java.lang.Exception
java.lang.Exception
protected void cleanWebWork(java.lang.String webWorkPath)
webWorkPath
- the path of the work directory of the application server.protected void deleteFile(java.lang.String path, java.lang.String fileName)
path
- the path of the file to delete.fileName
- the name of the file to delete.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |