public interface LibraryBuilder
Modifier and Type | Method and Description |
---|---|
void |
addBuildResource(Resource buildResource)
Adds a build resource.
|
void |
addCompilationUnit(CompilationUnit compilationUnit)
Adds a previously compiled (but not yet unified) compilation unit.
|
void |
addDependencyLibraryName(String dependencyLibraryName)
Registers a dependency on some other library.
|
void |
addDependencyLibraryNames(Set<String> dependencyLibraryNames)
Registers dependency on a set of other libraries.
|
void |
addNewBindingPropertyValuesByName(String propertyName,
Iterable<String> propertyValues)
Registers newly legal values on some binding property.
|
void |
addNewConfigurationPropertyValuesByName(String propertyName,
Iterable<String> propertyValues)
Sets the newly current value(s) on some configuration property.
|
void |
addPublicResource(Resource publicResource)
Adds a public resource (such as a html, css, or png file).
|
void |
addRanGeneratorName(String generatorName)
Marks a generator as having been executed for this library and all sub libraries.
|
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> |
getNewBindingPropertyValuesByName()
Returns the map of binding property names to newly legal values.
|
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> |
getNewConfigurationPropertyValuesByName()
Returns a map of configuration property names to newly set value(s).
|
PersistenceBackedObject<PermutationResult> |
getPermutationResultHandle()
Returns a handle to the permutation result object that was constructed as part of the
compilation for this library.
|
Set<String> |
getReboundTypeNames()
Returns the set of names of types which are the subject of GWT.create() calls in source code
for this library.
|
void |
setLibraryName(String libraryName)
Records the library name.
Library names are the way that libraries reference one another as dependencies and should be unique within the build tree. |
void |
setReboundTypeNames(Set<String> reboundTypeNames)
Records the set of names of types which are the subject of GWT.create() calls in source code
for this library.
|
void |
write()
Finishes writing all library contents and closes the library.
|
void addBuildResource(Resource buildResource)
void addCompilationUnit(CompilationUnit compilationUnit)
void addDependencyLibraryName(String dependencyLibraryName)
void addDependencyLibraryNames(Set<String> dependencyLibraryNames)
void addNewBindingPropertyValuesByName(String propertyName, Iterable<String> propertyValues)
void addNewConfigurationPropertyValuesByName(String propertyName, Iterable<String> propertyValues)
void addPublicResource(Resource publicResource)
void addRanGeneratorName(String generatorName)
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> getNewBindingPropertyValuesByName()
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> getNewConfigurationPropertyValuesByName()
PersistenceBackedObject<PermutationResult> getPermutationResultHandle()
Set<String> getReboundTypeNames()
void setLibraryName(String libraryName)
void setReboundTypeNames(Set<String> reboundTypeNames)
void write()
Copyright © 2018. All rights reserved.