Command
BuildProjectWebMode
public class BuildProjectConsoleMode extends BuildProjectCommandMode
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<hera.util.DangerousConsumer<BuildDetails>> |
buildListeners |
arguments, logger, printer
builder, builderFactory, lastBuildResult, NL_0, NL_1, NL_2, NL_3, NL_4, project, targetWriter
Constructor | Description |
---|---|
BuildProjectConsoleMode() |
Modifier and Type | Method | Description |
---|---|---|
void |
addListener(hera.util.DangerousConsumer<BuildDetails> listener) |
|
protected BuildDetails |
build(Project project) |
|
protected FileWatcher |
createFileWatcher() |
|
void |
execute() |
|
protected void |
fireEvent(BuildDetails buildDetails) |
|
protected void |
resourceChanged(ResourceChangeEvent event) |
|
protected void |
startConsoleServer() |
|
protected void |
test(BuildDetails buildDetails) |
getArgument, getOptionalArgument, getProjectFile, getProjectFilePath, getProjectHome, getProjectHomePath, parse, readProject
handle, initialize
setArguments
protected final java.util.List<hera.util.DangerousConsumer<BuildDetails>> buildListeners
public void addListener(hera.util.DangerousConsumer<BuildDetails> listener)
protected BuildDetails build(Project project)
build
in class BuildProjectCommandMode
protected void startConsoleServer()
protected FileWatcher createFileWatcher()
public void execute() throws java.lang.Exception
execute
in interface Command
execute
in class BuildProjectCommandMode
java.lang.Exception
protected void resourceChanged(ResourceChangeEvent event)
protected void test(BuildDetails buildDetails)
protected void fireEvent(BuildDetails buildDetails)