| Constructor and Description |
|---|
EAPDynamicModule(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDependency(EAPModuleDependency dependency)
Adds a dependency for the module.
|
boolean |
addResource(EAPModuleResource resource)
Adds a resource for the module.
|
EAPModuleDependency |
createDependency()
Returns a dependency instance for this kind of module.
|
org.eclipse.aether.artifact.Artifact |
getArtifact()
Return the artifact that contains this module definition.
|
Collection<EAPModuleDependency> |
getDependencies()
The module dependencies.
|
EAPModuleDependency |
getDependency(String uid)
Returns a dependency for a given name.
|
EAPLayer |
getLayer()
The module layer.
|
String |
getLocation()
The module location in JBoss EAP modules root folder.
|
String |
getName()
The module name.
|
Properties |
getProperties()
The module properties.
|
Collection<EAPModuleResource> |
getResources()
The resources for the module.
|
String |
getSlot()
The module slot in JBoss EAP modules root folder.
|
String |
getUniqueId()
Returns the unique identifier for the module.
|
org.eclipse.aether.artifact.Artifact |
getWarFile() |
boolean |
isAddJbossAll() |
void |
setAddJbossAll(boolean addJbossAll) |
void |
setArtifact(org.eclipse.aether.artifact.Artifact artifact) |
void |
setWarFile(org.eclipse.aether.artifact.Artifact warFile) |
public EAPDynamicModule(String name)
public Properties getProperties()
EAPModulegetProperties in interface EAPModulepublic String getLocation()
EAPModulegetLocation in interface EAPModulepublic String getSlot()
EAPModulepublic String getUniqueId()
EAPModule#layer + #module_name + #module_slotgetUniqueId in interface EAPModulepublic Collection<EAPModuleResource> getResources()
EAPModulegetResources in interface EAPModulepublic boolean addResource(EAPModuleResource resource)
EAPModuleaddResource in interface EAPModuleresource - The resoruce to add.public Collection<EAPModuleDependency> getDependencies()
EAPModulegetDependencies in interface EAPModulepublic boolean addDependency(EAPModuleDependency dependency)
EAPModuleaddDependency in interface EAPModuledependency - The dependency to add.public EAPModuleDependency getDependency(String uid)
EAPModulegetDependency in interface EAPModuleuid - The module UID of the dependency.public EAPModuleDependency createDependency()
EAPModulecreateDependency in interface EAPModulepublic org.eclipse.aether.artifact.Artifact getArtifact()
EAPModulegetArtifact in interface EAPModulepublic void setArtifact(org.eclipse.aether.artifact.Artifact artifact)
public org.eclipse.aether.artifact.Artifact getWarFile()
public void setWarFile(org.eclipse.aether.artifact.Artifact warFile)
public boolean isAddJbossAll()
public void setAddJbossAll(boolean addJbossAll)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.