Interface ExtensionType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ExtensionTypeImpl
public interface ExtensionType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
extensionType xsd type-
Method Summary
Modifier and TypeMethodDescriptionSets theclass-nameattributeReturns theclass-nameattributeIf not already created, a newconfig-propertyelement with the given value will be created.Removes theclass-nameattributeRemoves theconfig-propertyelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
getOrCreateConfigProperty
ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty()If not already created, a newconfig-propertyelement with the given value will be created. Otherwise, the existingconfig-propertyelement will be returned.- Returns:
- a new or existing instance of
ConfigPropertyType<ExtensionType>
-
removeConfigProperty
ExtensionType<T> removeConfigProperty()Removes theconfig-propertyelement- Returns:
- the current instance of
ExtensionType
-
className
Sets theclass-nameattribute- Parameters:
className- the value for the attributeclass-name- Returns:
- the current instance of
ExtensionType
-
getClassName
String getClassName()Returns theclass-nameattribute- Returns:
- the value defined for the attribute
class-name
-
removeClassName
ExtensionType<T> removeClassName()Removes theclass-nameattribute- Returns:
- the current instance of
ExtensionType
-