|
||||||||||
| 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
Application5DescriptorApplication5Descriptor setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
Application5DescriptorApplication5Descriptor removeAllDescription()
description element
Application5Descriptorjava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionApplication5Descriptor setDisplayName(java.lang.String displayName)
display-name element
Application5DescriptorApplication5Descriptor setDisplayNameList(java.lang.String... values)
display-name elements,
a new display-name element
list - of display-name objects
Application5DescriptorApplication5Descriptor removeAllDisplayName()
display-name element
Application5Descriptorjava.util.List<java.lang.String> getDisplayNameList()
display-name elements
display-nameApplication5Descriptor removeAllIcon()
icon elements
Application5DescriptorIconType<Application5Descriptor> icon()
icon element
iconjava.util.List<IconType<Application5Descriptor>> getIconList()
icon elements
iconApplication5Descriptor removeAllModule()
module elements
Application5DescriptorModuleType<Application5Descriptor> module()
module element
modulejava.util.List<ModuleType<Application5Descriptor>> getModuleList()
module elements
moduleApplication5Descriptor removeAllSecurityRole()
security-role elements
Application5DescriptorSecurityRoleType<Application5Descriptor> securityRole()
security-role element
security-rolejava.util.List<SecurityRoleType<Application5Descriptor>> getSecurityRoleList()
security-role elements
security-roleApplication5Descriptor 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.
Application5DescriptorApplication5Descriptor removeLibraryDirectory()
library-directory element
Application5Descriptorjava.lang.String getLibraryDirectory()
library-directory element
library-directoryApplication5Descriptor 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.
Application5DescriptorApplication5Descriptor removeVersion()
version element
Application5Descriptorjava.lang.String getVersion()
version element
version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||