Uses of Class
org.wildfly.testing.tools.modules.ModuleBuilder
Packages that use ModuleBuilder
-
Uses of ModuleBuilder in org.wildfly.testing.tools.modules
Methods in org.wildfly.testing.tools.modules that return ModuleBuilderModifier and TypeMethodDescriptionAdds an asset to the module library.Adds a class to the module to be generated.ModuleBuilder.addClasses(Class<?>... classes) Adds the classes to the module to be generated.ModuleBuilder.addDependencies(String... dependencies) Adds the dependencies for the module.xml file.ModuleBuilder.addDependencies(Collection<ModuleDependency> dependencies) Adds the dependencies for the module.xml file.ModuleBuilder.addDependencies(ModuleDependency... dependencies) Adds the dependencies for the module.xml file.ModuleBuilder.addDependency(String dependency) Adds a dependency for the module.xml file.ModuleBuilder.addDependency(ModuleDependency dependency) Adds a dependency for the module.xml file.ModuleBuilder.addManifestResource(org.jboss.shrinkwrap.api.asset.Asset asset, String target) Adds a manifest resource,META-INF, inside the module JAR.ModuleBuilder.addPackage(Package p) Adds all the classes in the package to the generated module.ModuleBuilder.addPackage(String p) Adds all the classes in the package to the generated module.ModuleBuilder.addResource(org.jboss.shrinkwrap.api.spec.JavaArchive resource) Adds another resource root library to the module.ModuleBuilder.addResourcePath(String resourcePath) Adds a resource path to be added to the root resource.ModuleBuilder.addResourcePaths(String... resourcePaths) Adds the resource paths to be added to the root resource.ModuleBuilder.addResourcePaths(Set<String> resourcePaths) Adds the resource paths to be added to the root resource.ModuleBuilder.addResources(Collection<org.jboss.shrinkwrap.api.spec.JavaArchive> resources) Adds more resource root libraries to the module.ModuleBuilder.addResources(org.jboss.shrinkwrap.api.spec.JavaArchive... resources) Adds more resource root libraries to the module.ModuleBuilder.addServiceProvider(Class<?> intf, Class<?>... implementations) Creates aMETA-INF/servicesfile for the interface with the implementations provied.static ModuleBuilderCreates a new module builder with an archive name of test-module.jar.static ModuleBuilderCreates a new module builder.static ModuleBuilderCreates a new module builder.static ModuleBuilderCreates a new module builder with an archive name of test-module.jar.static ModuleBuilderCreates a new module builder.