public class Module extends Object
A module consists of:
${jetty.home}/modules
and
${jetty.home}/modules
directories. A module may refer to
non-discovered dynamic module in a subdirectory, using a property as part or
all of the name.
A module may be enabled, either directly by name or transiently via a dependency
from another module by name or provided capability.Modifier and Type | Method and Description |
---|---|
boolean |
clearTransitiveEnable() |
boolean |
enable(String source,
boolean transitive) |
boolean |
equals(Object obj) |
void |
expandProperties(Props props) |
List<String> |
getDefaultConfig() |
Set<String> |
getDepends() |
List<String> |
getDescription() |
Set<String> |
getEnableSources() |
List<String> |
getFiles() |
List<String> |
getIniTemplate() |
List<String> |
getJvmArgs() |
List<String> |
getLibs() |
List<String> |
getLicense() |
String |
getName() |
Set<String> |
getOptional() |
Set<String> |
getProvides() |
Version |
getVersion() |
List<String> |
getXmls() |
boolean |
hasDefaultConfig() |
boolean |
hasFiles(BaseHome baseHome,
Props props) |
int |
hashCode() |
boolean |
hasIniTemplate() |
boolean |
hasLicense() |
boolean |
isDynamic()
Indicates a module that is dynamic in nature
|
boolean |
isEnabled() |
boolean |
isSkipFilesValidation() |
boolean |
isTransitive() |
void |
process(BaseHome basehome) |
void |
setSkipFilesValidation(boolean skipFilesValidation) |
String |
toString() |
public Module(BaseHome basehome, Path path) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public String getName()
public void expandProperties(Props props)
public boolean isSkipFilesValidation()
public Version getVersion()
public boolean hasDefaultConfig()
public boolean hasIniTemplate()
public boolean hasLicense()
public boolean isDynamic()
public void process(BaseHome basehome) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public boolean clearTransitiveEnable()
public void setSkipFilesValidation(boolean skipFilesValidation)
public boolean isEnabled()
public boolean enable(String source, boolean transitive)
source
- transitive
- public boolean isTransitive()
Copyright © 1995–2016 Mort Bay Consulting. All rights reserved.