org.wildfly.extras.creaper.commands.modules
Class RemoveModule
java.lang.Object
org.wildfly.extras.creaper.commands.modules.RemoveModule
- All Implemented Interfaces:
- Command, OnlineCommand
public final class RemoveModule
- extends Object
- implements OnlineCommand
Removes a module (in the JBoss Modules sense) from the module repository. The module.xml file
and other resources will be removed from the module repository as well as the directory structure up to the point
where other modules meet.
RemoveModule
public RemoveModule(String moduleName)
- Parameters:
moduleName - the name of the module to be removed (assumes the main slot)
RemoveModule
public RemoveModule(String moduleName,
String slot)
- Parameters:
moduleName - the name of the module to be removedslot - specifies a slot which should be removed
apply
public void apply(OnlineCommandContext ctx)
throws Exception
- Specified by:
apply in interface OnlineCommand
- Throws:
Exception
toString
public String toString()
- Specified by:
toString in interface OnlineCommand- Overrides:
toString in class Object
Copyright © 2016. All rights reserved.