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)
LibraryBuilder
addBuildResource
in interface LibraryBuilder
public void addCompilationUnit(CompilationUnit compilationUnit)
LibraryBuilder
addCompilationUnit
in interface LibraryBuilder
public void addDependencyLibraryName(String libraryName)
LibraryBuilder
addDependencyLibraryName
in interface LibraryBuilder
public void addDependencyLibraryNames(Set<String> dependencyLibraryNames)
LibraryBuilder
addDependencyLibraryNames
in interface LibraryBuilder
public void addNewBindingPropertyValuesByName(String propertyName, Iterable<String> propertyValues)
LibraryBuilder
addNewBindingPropertyValuesByName
in interface LibraryBuilder
public void addNewConfigurationPropertyValuesByName(String propertyName, Iterable<String> propertyValues)
LibraryBuilder
addNewConfigurationPropertyValuesByName
in interface LibraryBuilder
public void addPublicResource(Resource publicResource)
LibraryBuilder
addPublicResource
in interface LibraryBuilder
public void addRanGeneratorName(String generatorName)
LibraryBuilder
addRanGeneratorName
in interface LibraryBuilder
public com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> getNewBindingPropertyValuesByName()
LibraryBuilder
getNewBindingPropertyValuesByName
in interface LibraryBuilder
public com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> getNewConfigurationPropertyValuesByName()
LibraryBuilder
getNewConfigurationPropertyValuesByName
in interface LibraryBuilder
public ZipEntryBackedObject<PermutationResult> getPermutationResultHandle()
LibraryBuilder
getPermutationResultHandle
in interface LibraryBuilder
public Set<String> getReboundTypeNames()
LibraryBuilder
getReboundTypeNames
in interface LibraryBuilder
public void setLibraryName(String libraryName)
LibraryBuilder
setLibraryName
in interface LibraryBuilder
public void setReboundTypeNames(Set<String> reboundTypeNames)
LibraryBuilder
setReboundTypeNames
in interface LibraryBuilder
public void write()
LibraryBuilder
write
in interface LibraryBuilder
Copyright © 2018. All rights reserved.