public interface ScmRepoManifest
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getJobToFileMapping()
Return the mapping of UUID to relative file path
|
java.lang.String |
getRelativePathFor(JobReference job) |
java.lang.String |
getRelativePathFor(java.lang.String uuid) |
void |
removeFile(java.lang.String path)
Remove the entry for the path
|
void |
removeUUID(java.lang.String uuid)
Remove the entry for the UUID
|
void |
setMapping(java.lang.String uuid,
java.lang.String filepath)
Add or update a UUID to filepathmapping entry
|
void |
store(java.io.OutputStream out)
Store the mapping to disk
|
java.util.Map<java.lang.String,java.lang.String> getJobToFileMapping()
java.lang.String getRelativePathFor(java.lang.String uuid)
java.lang.String getRelativePathFor(JobReference job)
void store(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
void setMapping(java.lang.String uuid, java.lang.String filepath)
uuid
- uuidfilepath
- filepathvoid removeUUID(java.lang.String uuid)
uuid
- uuidvoid removeFile(java.lang.String path)
path
- relative path