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 the
activationspecType xsd type-
Method Summary
Modifier and TypeMethodDescriptionactivationspecClass(String activationspecClass) Sets theactivationspec-classelementCreates a newconfig-propertyelementCreates a newrequired-config-propertyelementReturns theactivationspec-classelementReturns allconfig-propertyelementsReturns allrequired-config-propertyelementsgetId()Returns theidattributeIf not already created, a newconfig-propertyelement will be created and returned.If not already created, a newrequired-config-propertyelement will be created and returned.Sets theidattributeRemoves theactivationspec-classelementRemoves allconfig-propertyelementsRemoves allrequired-config-propertyelementsremoveId()Removes theidattributeMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
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<ActivationspecType>
-
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<ActivationspecType>
-
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<ActivationspecType>
-
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<ActivationspecType>
-
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
-