|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Application5Descriptor
This deployment descriptor provides the functionalities as described in the application_5.xsd specification
Example:
Application5Descriptor descriptor = Descriptors.create(Application5Descriptor.class);
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getDisplayNameList()
Returns all display-name elements |
java.util.List<IconType<Application5Descriptor>> |
getIconList()
Returns all icon elements |
java.lang.String |
getLibraryDirectory()
Returns the library-directory element |
java.util.List<ModuleType<Application5Descriptor>> |
getModuleList()
Returns all module elements |
java.util.List<SecurityRoleType<Application5Descriptor>> |
getSecurityRoleList()
Returns all security-role elements |
java.lang.String |
getVersion()
Returns the version element |
IconType<Application5Descriptor> |
icon()
Returns the icon element |
ModuleType<Application5Descriptor> |
module()
Returns the module element |
Application5Descriptor |
removeAllDescription()
Removes the description element |
Application5Descriptor |
removeAllDisplayName()
Removes the display-name element |
Application5Descriptor |
removeAllIcon()
Removes all icon elements |
Application5Descriptor |
removeAllModule()
Removes all module elements |
Application5Descriptor |
removeAllSecurityRole()
Removes all security-role elements |
Application5Descriptor |
removeLibraryDirectory()
Removes the library-directory element |
Application5Descriptor |
removeVersion()
Removes the version element |
SecurityRoleType<Application5Descriptor> |
securityRole()
Returns the security-role element |
Application5Descriptor |
setDescription(java.lang.String description)
Creates a new description element |
Application5Descriptor |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
Application5Descriptor |
setDisplayName(java.lang.String displayName)
Creates a new display-name element |
Application5Descriptor |
setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements,
a new display-name element |
Application5Descriptor |
setLibraryDirectory(java.lang.String libraryDirectory)
If not already created, a new library-directory element with the given value will be created. |
Application5Descriptor |
setVersion(java.lang.String version)
If not already created, a new version element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
---|
exportAsString, exportTo, getDescriptorName |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace |
---|
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces |
Method Detail |
---|
Application5Descriptor setDescription(java.lang.String description)
description
element
Application5Descriptor
Application5Descriptor setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
Application5Descriptor
Application5Descriptor removeAllDescription()
description
element
Application5Descriptor
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
Application5Descriptor setDisplayName(java.lang.String displayName)
display-name
element
Application5Descriptor
Application5Descriptor setDisplayNameList(java.lang.String... values)
display-name
elements,
a new display-name
element
list
- of display-name
objects
Application5Descriptor
Application5Descriptor removeAllDisplayName()
display-name
element
Application5Descriptor
java.util.List<java.lang.String> getDisplayNameList()
display-name
elements
display-name
Application5Descriptor removeAllIcon()
icon
elements
Application5Descriptor
IconType<Application5Descriptor> icon()
icon
element
icon
java.util.List<IconType<Application5Descriptor>> getIconList()
icon
elements
icon
Application5Descriptor removeAllModule()
module
elements
Application5Descriptor
ModuleType<Application5Descriptor> module()
module
element
module
java.util.List<ModuleType<Application5Descriptor>> getModuleList()
module
elements
module
Application5Descriptor removeAllSecurityRole()
security-role
elements
Application5Descriptor
SecurityRoleType<Application5Descriptor> securityRole()
security-role
element
security-role
java.util.List<SecurityRoleType<Application5Descriptor>> getSecurityRoleList()
security-role
elements
security-role
Application5Descriptor setLibraryDirectory(java.lang.String libraryDirectory)
library-directory
element with the given value will be created.
Otherwise, the existing library-directory
element will be updated with the given value.
Application5Descriptor
Application5Descriptor removeLibraryDirectory()
library-directory
element
Application5Descriptor
java.lang.String getLibraryDirectory()
library-directory
element
library-directory
Application5Descriptor setVersion(java.lang.String version)
version
element with the given value will be created.
Otherwise, the existing version
element will be updated with the given value.
Application5Descriptor
Application5Descriptor removeVersion()
version
element
Application5Descriptor
java.lang.String getVersion()
version
element
version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |