Class LifecycleCallbackTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee6.LifecycleCallbackTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,LifecycleCallbackType<T>
public class LifecycleCallbackTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, LifecycleCallbackType<T>
This class implements the
lifecycle-callbackType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionLifecycleCallbackTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) LifecycleCallbackTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionReturns thelifecycle-callback-classelementReturns thelifecycle-callback-methodelementlifecycleCallbackClass(String lifecycleCallbackClass) Sets thelifecycle-callback-classelementlifecycleCallbackMethod(String lifecycleCallbackMethod) Sets thelifecycle-callback-methodelementRemoves thelifecycle-callback-classelementRemoves thelifecycle-callback-methodelementup()
-
Constructor Details
-
LifecycleCallbackTypeImpl
-
LifecycleCallbackTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
lifecycleCallbackClass
Sets thelifecycle-callback-classelement- Specified by:
lifecycleCallbackClassin interfaceLifecycleCallbackType<T>- Parameters:
lifecycleCallbackClass- the value for the elementlifecycle-callback-class- Returns:
- the current instance of
LifecycleCallbackType
-
getLifecycleCallbackClass
Returns thelifecycle-callback-classelement- Specified by:
getLifecycleCallbackClassin interfaceLifecycleCallbackType<T>- Returns:
- the node defined for the element
lifecycle-callback-class
-
removeLifecycleCallbackClass
Removes thelifecycle-callback-classelement- Specified by:
removeLifecycleCallbackClassin interfaceLifecycleCallbackType<T>- Returns:
- the current instance of
LifecycleCallbackType
-
lifecycleCallbackMethod
Sets thelifecycle-callback-methodelement- Specified by:
lifecycleCallbackMethodin interfaceLifecycleCallbackType<T>- Parameters:
lifecycleCallbackMethod- the value for the elementlifecycle-callback-method- Returns:
- the current instance of
LifecycleCallbackType
-
getLifecycleCallbackMethod
Returns thelifecycle-callback-methodelement- Specified by:
getLifecycleCallbackMethodin interfaceLifecycleCallbackType<T>- Returns:
- the node defined for the element
lifecycle-callback-method
-
removeLifecycleCallbackMethod
Removes thelifecycle-callback-methodelement- Specified by:
removeLifecycleCallbackMethodin interfaceLifecycleCallbackType<T>- Returns:
- the current instance of
LifecycleCallbackType
-