public class Options extends Object
CodeServer's
main() method.
These flags are EXPERIMENTAL and subject to change.
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
void |
addTags(String... tags)
Adds some user-defined tags that will be passed through to
JobEvent.getTags() . |
OptionMethodNameDisplayMode.Mode |
getMethodNameDisplayMode() |
boolean |
isClosureFormattedOutput() |
boolean |
parseArgs(String[] args)
Sets each option to the appropriate value, based on command-line arguments.
|
void |
setJobChangeListener(JobChangeListener listener)
A Java application that embeds Super Dev Mode can use this hook to find out
when compile jobs change state.
|
void |
setRecompileListener(RecompileListener listener)
Deprecated.
|
public boolean parseArgs(String[] args)
public void addTags(String... tags)
JobEvent.getTags()
.
A tag may not be null, contain whitespace, or be more than 100 characters. If a tag was already added, it won't be added again.
This method may be called more than once, but compile jobs that are already running will not have the new tags.
@Deprecated public void setRecompileListener(RecompileListener listener)
setJobChangeListener(com.google.gwt.dev.codeserver.JobChangeListener)
public void setJobChangeListener(JobChangeListener listener)
Replaces setRecompileListener(com.google.gwt.dev.codeserver.RecompileListener)
public boolean isClosureFormattedOutput()
public OptionMethodNameDisplayMode.Mode getMethodNameDisplayMode()
Copyright © 2018. All rights reserved.