public class BuildInformationManager extends ManagerBase
logger
Constructor and Description |
---|
BuildInformationManager(PrintStream logger,
NodeFile buildInformationFile)
Constructor for the build information manager
|
Modifier and Type | Method and Description |
---|---|
BuildInformation |
getBuildInformation() |
boolean |
needsRecreation(String packagesHash,
String dotNetVersion)
Determines if the project needs be recreated
|
void |
reloadInformation()
Reload the build information based in the build information file
|
void |
saveBuildInformation()
Saves the build information
|
void |
setBuildInformation(BuildInformation buildInformation) |
log, prettyLog
public BuildInformationManager(PrintStream logger, NodeFile buildInformationFile)
logger
- buildInformationFile
- public void reloadInformation() throws IOException, InterruptedException, InterruptedException
IOException
InterruptedException
public boolean needsRecreation(String packagesHash, String dotNetVersion) throws IOException, InterruptedException, InterruptedException
packagesHash
- dotNetVersion
- IOException
InterruptedException
public BuildInformation getBuildInformation()
public void setBuildInformation(BuildInformation buildInformation)
buildInformation
- the buildInformation to setpublic void saveBuildInformation() throws FileNotFoundException, IOException, InterruptedException
Copyright © 2016–2017. All rights reserved.