Package org.robolectric.shadows
Class ModuleInfoBuilder
java.lang.Object
org.robolectric.shadows.ModuleInfoBuilder
Builder for 
ModuleInfo as ModuleInfo has hidden constructors, this builder class has been
 added as a way to make custom ModuleInfo objects when needed.- 
Method SummaryModifier and TypeMethodDescriptionbuild()Returns aModuleInfowith the data that was given.static ModuleInfoBuilderStart building a new ModuleInfosetHidden(boolean hidden) Sets whether or not the module is hiddensetName(CharSequence name) Sets the public name of the modulesetPackageName(String packageName) Sets the package name of the module
- 
Method Details- 
newBuilderStart building a new ModuleInfo- Returns:
- a new instance of ModuleInfoBuilder.
 
- 
setNameSets the public name of the module
- 
setPackageNameSets the package name of the module
- 
setHiddenSets whether or not the module is hidden
- 
buildReturns aModuleInfowith the data that was given. Both name and packageName are mandatory to build, but hidden is optional, if no value was given will default to false
 
-