Interface ActivationspecType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ActivationspecTypeImpl
public interface ActivationspecType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theactivationspecTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivationspecType<T>activationspecClass(String activationspecClass)Sets theactivationspec-classelementConfigPropertyType<ActivationspecType<T>>createConfigProperty()Creates a newconfig-propertyelementRequiredConfigPropertyType<ActivationspecType<T>>createRequiredConfigProperty()Creates a newrequired-config-propertyelementStringgetActivationspecClass()Returns theactivationspec-classelementList<ConfigPropertyType<ActivationspecType<T>>>getAllConfigProperty()Returns allconfig-propertyelementsList<RequiredConfigPropertyType<ActivationspecType<T>>>getAllRequiredConfigProperty()Returns allrequired-config-propertyelementsStringgetId()Returns theidattributeConfigPropertyType<ActivationspecType<T>>getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned.RequiredConfigPropertyType<ActivationspecType<T>>getOrCreateRequiredConfigProperty()If not already created, a newrequired-config-propertyelement will be created and returned.ActivationspecType<T>id(String id)Sets theidattributeActivationspecType<T>removeActivationspecClass()Removes theactivationspec-classelementActivationspecType<T>removeAllConfigProperty()Removes allconfig-propertyelementsActivationspecType<T>removeAllRequiredConfigProperty()Removes allrequired-config-propertyelementsActivationspecType<T>removeId()Removes theidattribute
-
-
-
Method Detail
-
activationspecClass
ActivationspecType<T> activationspecClass(String activationspecClass)
Sets theactivationspec-classelement- Parameters:
activationspecClass- the value for the elementactivationspec-class- Returns:
- the current instance of
ActivationspecType
-
getActivationspecClass
String getActivationspecClass()
Returns theactivationspec-classelement- Returns:
- the node defined for the element
activationspec-class
-
removeActivationspecClass
ActivationspecType<T> removeActivationspecClass()
Removes theactivationspec-classelement- Returns:
- the current instance of
ActivationspecType
-
getOrCreateRequiredConfigProperty
RequiredConfigPropertyType<ActivationspecType<T>> getOrCreateRequiredConfigProperty()
If not already created, a newrequired-config-propertyelement will be created and returned. Otherwise, the first existingrequired-config-propertyelement will be returned.- Returns:
- the instance defined for the element
required-config-property
-
createRequiredConfigProperty
RequiredConfigPropertyType<ActivationspecType<T>> createRequiredConfigProperty()
Creates a newrequired-config-propertyelement- Returns:
- the new created instance of
RequiredConfigPropertyType>
-
getAllRequiredConfigProperty
List<RequiredConfigPropertyType<ActivationspecType<T>>> getAllRequiredConfigProperty()
Returns allrequired-config-propertyelements- Returns:
- list of
required-config-property
-
removeAllRequiredConfigProperty
ActivationspecType<T> removeAllRequiredConfigProperty()
Removes allrequired-config-propertyelements- Returns:
- the current instance of
RequiredConfigPropertyType>
-
getOrCreateConfigProperty
ConfigPropertyType<ActivationspecType<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<ActivationspecType<T>> createConfigProperty()
Creates a newconfig-propertyelement- Returns:
- the new created instance of
ConfigPropertyType>
-
getAllConfigProperty
List<ConfigPropertyType<ActivationspecType<T>>> getAllConfigProperty()
Returns allconfig-propertyelements- Returns:
- list of
config-property
-
removeAllConfigProperty
ActivationspecType<T> removeAllConfigProperty()
Removes allconfig-propertyelements- Returns:
- the current instance of
ConfigPropertyType>
-
id
ActivationspecType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ActivationspecType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
ActivationspecType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
ActivationspecType
-
-