public class GosucProject extends Object implements IProject
project-name {
'sdk' {
sdk-path-list
}
'modules' {
module-list
}
'global-loaders' {
global-loaders-list
}
root-dir : quoted-path
app-name : quoted-name
}
global-loaders-list = quoted-class-name[, global-loaders-list] | null
quoted-class-name = '"'java-class-name'"'
module-list = module[ module-list] | null
module =
module-name {
'sourcepath' {
sourcepath-list
}
'classpath' {
classpath-lise
}
'outpath' {
output-path-list
}
'deps' {
deps-list
}
}
sourcepath-list -> quoted-path[, sourcepath-list] | null
classpath-list -> path[, classpath-list] | null
quoted-path -> '"'path'"'
deps-list -> dep[ dep-list] | null
dep -> module-name[: export]
| Constructor and Description |
|---|
GosucProject() |
GosucProject(IExecutionEnvironment execEnv) |
GosucProject(String name,
GosucSdk sdk,
List<GosucModule> modules,
List<String> globalLoaders) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Collection<? extends CharSequence> |
getAllDefinedTypes() |
List<String> |
getGlobalLoaders() |
IMemoryMonitor |
getMemoryMonitor() |
List<GosucModule> |
getModules() |
String |
getName() |
Object |
getNativeProject() |
GosucSdk |
getSdk() |
int |
hashCode() |
boolean |
isDisposed() |
boolean |
isHeadless() |
boolean |
isShadowMode() |
static GosucProject |
parse(GosucProjectParser parser,
ICustomParser custParser) |
void |
startDependencies()
Subclasse override to initialize/start dependencies
|
String |
write() |
protected String |
writeCustom() |
public GosucProject(String name, GosucSdk sdk, List<GosucModule> modules, List<String> globalLoaders)
public GosucProject()
public GosucProject(IExecutionEnvironment execEnv)
public void startDependencies()
public GosucSdk getSdk()
public List<GosucModule> getModules()
public String write()
protected String writeCustom()
public static GosucProject parse(GosucProjectParser parser, ICustomParser custParser)
public Object getNativeProject()
getNativeProject in interface IProjectpublic boolean isDisposed()
isDisposed in interface IProjectpublic boolean isHeadless()
isHeadless in interface IProjectpublic Collection<? extends CharSequence> getAllDefinedTypes()
public IMemoryMonitor getMemoryMonitor()
public boolean isShadowMode()
isShadowMode in interface IProjectCopyright © 2017. All rights reserved.