
public class NullLibraryBuilder extends Object implements LibraryBuilder
| Constructor and Description |
|---|
NullLibraryBuilder() |
| 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 libraryName)
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).
|
ZipEntryBackedObject<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.
|
public void addBuildResource(Resource buildResource)
LibraryBuilderaddBuildResource in interface LibraryBuilderpublic void addCompilationUnit(CompilationUnit compilationUnit)
LibraryBuilderaddCompilationUnit in interface LibraryBuilderpublic void addDependencyLibraryName(String libraryName)
LibraryBuilderaddDependencyLibraryName in interface LibraryBuilderpublic void addDependencyLibraryNames(Set<String> dependencyLibraryNames)
LibraryBuilderaddDependencyLibraryNames in interface LibraryBuilderpublic void addNewBindingPropertyValuesByName(String propertyName, Iterable<String> propertyValues)
LibraryBuilderaddNewBindingPropertyValuesByName in interface LibraryBuilderpublic void addNewConfigurationPropertyValuesByName(String propertyName, Iterable<String> propertyValues)
LibraryBuilderaddNewConfigurationPropertyValuesByName in interface LibraryBuilderpublic void addPublicResource(Resource publicResource)
LibraryBuilderaddPublicResource in interface LibraryBuilderpublic void addRanGeneratorName(String generatorName)
LibraryBuilderaddRanGeneratorName in interface LibraryBuilderpublic com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> getNewBindingPropertyValuesByName()
LibraryBuildergetNewBindingPropertyValuesByName in interface LibraryBuilderpublic com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> getNewConfigurationPropertyValuesByName()
LibraryBuildergetNewConfigurationPropertyValuesByName in interface LibraryBuilderpublic ZipEntryBackedObject<PermutationResult> getPermutationResultHandle()
LibraryBuildergetPermutationResultHandle in interface LibraryBuilderpublic Set<String> getReboundTypeNames()
LibraryBuildergetReboundTypeNames in interface LibraryBuilderpublic void setLibraryName(String libraryName)
LibraryBuildersetLibraryName in interface LibraryBuilderpublic void setReboundTypeNames(Set<String> reboundTypeNames)
LibraryBuildersetReboundTypeNames in interface LibraryBuilderpublic void write()
LibraryBuilderwrite in interface LibraryBuilderCopyright © 2018. All rights reserved.