public class InstalledFiles extends Object
Constructor and Description |
---|
InstalledFiles(String warLocation,
String moduleId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addAdd(String location)
Add a file addition
|
void |
addMkdir(String location)
Add a directory
|
void |
addUpdate(String location,
String backup)
Add a file update
|
List<String> |
getAdds()
Get all the added files
|
String |
getFileLocation()
Returns the location of the modifications file based on the module id
|
String |
getFilePathInWar() |
List<String> |
getMkdirs()
Gets a list of the dirs added during install
|
Map<String,String> |
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
|
String |
toString() |
public void load()
public void save()
public String getFileLocation()
public String getFilePathInWar()
public Map<String,String> getUpdates()
public List<String> getMkdirs()
public void addAdd(String location)
location
- the file addedpublic void addUpdate(String location, String backup)
location
- the file updatedbackup
- the backup locationpublic void addMkdir(String location)
location
- the directory locationCopyright © 2005–2017 Alfresco Software. All rights reserved.