public abstract class GwtcServiceAbstract extends Object implements GwtcService
| Modifier and Type | Class and Description |
|---|---|
protected class |
GwtcServiceAbstract.Replacement |
| Modifier and Type | Field and Description |
|---|---|
protected GwtcContext |
context |
protected SourceBuilder<GwtcService> |
entryPoint |
protected Set<String> |
finished |
protected static String |
GEN_PREFIX |
protected String |
genName |
protected String |
manifestName |
protected GwtcEntryPointBuilder |
out |
protected File |
tempDir |
| Constructor and Description |
|---|
GwtcServiceAbstract(ClassLoader resourceLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClass(Class<?> clazz) |
void |
addDependency(Dependency dep) |
void |
addGwtModules(Class<?> clazz) |
boolean |
addJUnitClass(Class<?> clazz) |
protected ClassBuffer |
classBuffer() |
void |
copyModuleTo(String module) |
void |
debug(String log) |
protected void |
doLog(LogLevel level,
String msg) |
protected void |
ensureReportError() |
void |
error(String log) |
protected String |
extractGwtVersion(String gwtHome) |
protected void |
generateReportError(ClassBuffer classBuffer) |
protected String |
generateSetupMethod(String field,
String type,
Class<?> clazz,
List<Method> befores) |
protected String |
generateTestRunner(Class<?> clazz,
List<Method> beforeClasses,
List<Method> befores,
List<Method> tests,
List<Method> afters,
List<Method> afterClasses) |
protected void |
generateWar(String warDir,
String moduleName) |
String |
getEntryPoint() |
String |
getGwtXml() |
protected String |
getHostPageDocType() |
String |
getModuleName() |
File |
getTempDir() |
void |
info(String log) |
protected void |
inheritGwtXml(Class<?> clazz,
Resource build) |
protected void |
saveGwtXmlFile(XmlBuffer xml,
String moduleName,
File dest) |
protected void |
saveTempFile(String value,
File dest) |
void |
trace(String log) |
void |
warn(String log) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAsyncBlock, addGwtTestCase, addGwtTestSuite, addMethod, addMethod, addPackage, compileprotected static final String GEN_PREFIX
protected final GwtcContext context
protected final String genName
protected final File tempDir
protected SourceBuilder<GwtcService> entryPoint
protected GwtcEntryPointBuilder out
protected String manifestName
public GwtcServiceAbstract(ClassLoader resourceLoader)
public void addClass(Class<?> clazz)
addClass in interface GwtcServicepublic void addGwtModules(Class<?> clazz)
addGwtModules in interface GwtcServicepublic String getEntryPoint()
public String getGwtXml()
public String getModuleName()
getModuleName in interface GwtcServiceprotected String getHostPageDocType()
public File getTempDir()
getTempDir in interface GwtcServicepublic void error(String log)
public void warn(String log)
public void info(String log)
public void trace(String log)
public void debug(String log)
public void addDependency(Dependency dep)
public boolean addJUnitClass(Class<?> clazz)
addJUnitClass in interface GwtcServiceprotected ClassBuffer classBuffer()
protected void generateReportError(ClassBuffer classBuffer)
protected String generateSetupMethod(String field, String type, Class<?> clazz, List<Method> befores)
protected String generateTestRunner(Class<?> clazz, List<Method> beforeClasses, List<Method> befores, List<Method> tests, List<Method> afters, List<Method> afterClasses)
protected void ensureReportError()
public void copyModuleTo(String module)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.