public static class JobEvent.Builder extends Object
JobChangeListener
.
Normally all JobEvents are created in the code server.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobEvent |
build() |
void |
setArguments(List<String> args)
The arguments passed to
Options.parseArgs(java.lang.String[]) at startup. |
void |
setBindings(Map<String,String> bindings)
The bindings passed to the compiler.
|
void |
setCompileDir(CompileDir compileDir)
The directory where the GWT compiler will write its output.
|
void |
setCompileStrategy(JobEvent.CompileStrategy compileStrategy)
The strategy used to perform the compile.
|
void |
setInputModuleName(String inputModuleName)
The name of the module as passed to the compiler.
|
void |
setJobId(String jobId)
A unique id for this job.
|
void |
setMessage(String message)
A message to describing the job's current state.
|
void |
setOutputModuleName(String name)
The module name that the compiler returned (after rename).
|
void |
setStatus(JobEvent.Status status)
The job's current status.
|
void |
setTags(Iterable<String> tags)
User-defined tags passed to
Options.addTags(java.lang.String...) . |
public void setJobId(String jobId)
public void setInputModuleName(String inputModuleName)
public void setBindings(Map<String,String> bindings)
public void setStatus(JobEvent.Status status)
public void setMessage(String message)
public void setOutputModuleName(String name)
public void setCompileDir(CompileDir compileDir)
public void setCompileStrategy(JobEvent.CompileStrategy compileStrategy)
public void setArguments(List<String> args)
Options.parseArgs(java.lang.String[])
at startup.
Optional but may not be null. If not set, defaults to the empty list.public void setTags(Iterable<String> tags)
Options.addTags(java.lang.String...)
.
Optional but may not be null. If not set, defaults to the empty list.public JobEvent build()
Copyright © 2018. All rights reserved.