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-nameattributeCreates a newconfig-propertyelementReturns allconfig-propertyelementsReturns theclass-nameattributeIf not already created, a newconfig-propertyelement will be created and returned.Removes allconfig-propertyelementsRemoves theclass-nameattributeMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
getOrCreateConfigProperty
ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
ConfigPropertyType<ExtensionType<T>> createConfigProperty()Creates a newconfig-propertyelement- Returns:
- the new created instance of
ConfigPropertyTypeinvalid input: '<'ExtensionType>
-
getAllConfigProperty
List<ConfigPropertyType<ExtensionType<T>>> getAllConfigProperty()Returns allconfig-propertyelements- Returns:
- list of
config-property
-
removeAllConfigProperty
ExtensionType<T> removeAllConfigProperty()Removes allconfig-propertyelements- Returns:
- the current instance of
ConfigPropertyTypeinvalid input: '<'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
-