public class DetectChangesStatus extends Object
| Constructor and Description |
|---|
DetectChangesStatus() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLastDetection()
Gets the last detection.
|
List<RepoStatus> |
getRepos()
Gets the repos.
|
RepoStatus |
getRepoStatusById(String id)
Get a specific repository status by id.
|
static DetectChangesStatus |
readFromFile(String file)
Reads the status file.
|
void |
setLastDetection(String lastDetection)
Sets the last detection.
|
void |
setRepos(List<RepoStatus> repos)
Sets the repos.
|
void |
writeToFile(String file)
Writes this status into the given file.
|
public List<RepoStatus> getRepos()
public void setRepos(List<RepoStatus> repos)
repos - the new repospublic String getLastDetection()
public void setLastDetection(String lastDetection)
lastDetection - the new last detectionpublic static DetectChangesStatus readFromFile(String file)
file - the file to readpublic void writeToFile(String file)
file - the filepublic RepoStatus getRepoStatusById(String id)
id - the repo id.null.Copyright © 2013-2015. All Rights Reserved.