|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.module.tool.InstalledFiles
public class InstalledFiles
Details of the files installed during a module installation into a WAR
| Constructor Summary | |
|---|---|
InstalledFiles(java.lang.String warLocation,
java.lang.String moduleId)
Constructor |
|
| Method Summary | |
|---|---|
void |
addAdd(java.lang.String location)
Add a file addition |
void |
addMkdir(java.lang.String location)
Add a directory |
void |
addUpdate(java.lang.String location,
java.lang.String backup)
Add a file update |
java.util.List |
getAdds()
Get all the added files |
java.lang.String |
getFileLocation()
Returns the location of the modifications file based on the module id |
java.lang.String |
getFilePathInWar()
|
java.util.List |
getMkdirs()
Gets a list of the dirs added during install |
java.util.Map |
getUpdates()
Get all the updated files, key is the file that has been updated and the value is the location of the backup made before modification took place. |
void |
load()
Loads the exisiting information about the installed files from the WAR |
void |
save()
Saves the current modification details into the WAR |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstalledFiles(java.lang.String warLocation,
java.lang.String moduleId)
warLocation - the war locationmoduleId - the module id| Method Detail |
|---|
public void load()
public void save()
public java.lang.String getFileLocation()
public java.lang.String getFilePathInWar()
public java.util.List getAdds()
public java.util.Map getUpdates()
public java.util.List getMkdirs()
public void addAdd(java.lang.String location)
location - the file added
public void addUpdate(java.lang.String location,
java.lang.String backup)
location - the file updatedbackup - the backup locationpublic void addMkdir(java.lang.String location)
location - the directory location
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||