public class AddModule extends Object implements OnlineCommand
Adds a module (in the JBoss Modules sense) to the module repository. The necessary directory structure
will be created if needed. The JAR files specified as resources will be copied to the module directory.
Unless a module.xml file was specified as an argument, it will be generated automatically.
Example of resulting cli command:
module add --name=name --slot=slot --resources=jars
--resource-delimiter=char --dependencies=modules --properties=properties
| Modifier and Type | Class and Description |
|---|---|
static class |
AddModule.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SLOT |
NOOPpublic static final String DEFAULT_SLOT
public void apply(OnlineCommandContext ctx) throws Exception
apply in interface OnlineCommandExceptionpublic String toString()
toString in interface OnlineCommandtoString in class ObjectCopyright © 2021. All rights reserved.