To make JBoss Module. https://docs.jboss.org/author/display/MODULES/Home
| Type | Name and description |
|---|---|
java.lang.String |
defaultLoader |
java.lang.Object |
dependencies |
java.lang.Object |
exports |
java.lang.Object |
loaders |
java.lang.String |
mainClass |
boolean |
moduleAbsent |
boolean |
moduleAlias |
boolean |
moduleConfiguration |
java.lang.String |
moduleName |
java.lang.String |
name |
java.lang.Object |
permissions |
java.lang.Object |
properties |
java.lang.Object |
resources |
java.lang.Object |
servers |
java.lang.String |
slot |
java.lang.String |
targetName |
Ver |
ver |
| Constructor and description |
|---|
JBossModule
(java.lang.String name)The special constructor to be able to use in the gradle script |
| Type | Name and description |
|---|---|
void |
deployToJBoss(JBossServer server, org.gradle.api.Project project) |
java.lang.String |
getModuleDescriptor()Makes a module descriptor is an XML file which describes the structure, content, dependencies, filtering, and other attributes of a module. |
java.lang.String |
getPath()A path where a module will be stored under JBoss Server. |
boolean |
isValid() |
void |
makeLocally(org.gradle.api.Project project)To save main.xml and all resources to Project's folder. |
void |
setDefaultLoader(java.lang.String name)The loader to use. |
void |
setModuleName(java.lang.String name)A module name, which consists of one or more dot (.) |
void |
setSlot(java.lang.String slot)A module version slot. |
void |
setTargetName(java.lang.String name)A module name, which consists of one or more dot (.) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The special constructor to be able to use in the gradle script modules { moduleA { moduleName = 'com.moduleA' slot = '1.0' } }
Makes a module descriptor is an XML file which describes the structure, content, dependencies, filtering, and other attributes of a module.
A path where a module will be stored under JBoss Server.
To save main.xml and all resources to Project's folder.
The loader to use. The name matches the value of the "name" attribute of one of the defined loaders.
A module name, which consists of one or more dot (.)-separated segments. Each segment must begin and end with an alphanumeric or underscore (_), and may otherwise contain alphanumerics, underscores, and hyphens (-).
A module version slot. A slot may consist of one or more alphanumerics, hyphens (-), underscores (_), plus signs (+), asterisks (*), or dots (.).
A module name, which consists of one or more dot (.)-separated segments. Each segment must begin and end with an alphanumeric or underscore (_), and may otherwise contain alphanumerics, underscores, and hyphens (-).
Groovy Documentation