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-classelementRequiredConfigPropertyType<ActivationspecType<T>>createRequiredConfigProperty()Creates a newrequired-config-propertyelementStringgetActivationspecClass()Returns theactivationspec-classelementList<RequiredConfigPropertyType<ActivationspecType<T>>>getAllRequiredConfigProperty()Returns allrequired-config-propertyelementsStringgetId()Returns theidattributeRequiredConfigPropertyType<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>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>
-
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
-
-