public class DotNetProjectManager extends ManagerBase
logger| Constructor and Description |
|---|
DotNetProjectManager(PrintStream logger,
int buildNumber,
DotNetCommandLineManager commandLine,
DotNetPackagesManager targetPackages,
NodeFile projectFolder)
The project manager constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFileForCreation(String relativePath,
String content)
Register a file for creation inside the project
|
void |
buildProject()
Build the project
|
void |
createProject()
Create the project
|
boolean |
needsRecreation()
Determine if this project needs be recreated
|
void |
recreateProjectFolder()
Recreate the project folder
|
void |
runProject()
Run the project
|
void |
validateVersion() |
log, prettyLogpublic DotNetProjectManager(PrintStream logger, int buildNumber, DotNetCommandLineManager commandLine, DotNetPackagesManager targetPackages, NodeFile projectFolder) throws IOException, InterruptedException, InterruptedException, DotNetCommandLineException, DotNetProjectManagerException
logger - buildNumber - commandLine - targetPackages - projectFolder - IOExceptionInterruptedExceptionDotNetProjectManagerExceptionDotNetCommandLineExceptionpublic boolean needsRecreation()
throws NoSuchAlgorithmException,
UnsupportedEncodingException,
IOException,
InterruptedException,
DotNetCommandLineException
public void validateVersion()
throws IOException,
InterruptedException,
DotNetCommandLineException,
DotNetProjectManagerException
public void createProject()
throws NoSuchAlgorithmException,
UnsupportedEncodingException,
IOException,
InterruptedException,
DotNetCommandLineException
public void buildProject()
throws IOException,
InterruptedException,
NoSuchAlgorithmException,
DotNetCommandLineException
public void runProject()
throws IOException,
InterruptedException,
NoSuchAlgorithmException,
DotNetCommandLineException
public void recreateProjectFolder()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.