Class LifecycleCallbackTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.javaee7.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 thelifecycle-callbackTypexsd type
-
-
Constructor Summary
Constructors Constructor Description LifecycleCallbackTypeImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLifecycleCallbackClass()Returns thelifecycle-callback-classelementStringgetLifecycleCallbackMethod()Returns thelifecycle-callback-methodelementLifecycleCallbackType<T>lifecycleCallbackClass(String lifecycleCallbackClass)Sets thelifecycle-callback-classelementLifecycleCallbackType<T>lifecycleCallbackMethod(String lifecycleCallbackMethod)Sets thelifecycle-callback-methodelementLifecycleCallbackType<T>removeLifecycleCallbackClass()Removes thelifecycle-callback-classelementLifecycleCallbackType<T>removeLifecycleCallbackMethod()Removes thelifecycle-callback-methodelementTup()
-
-
-
Method Detail
-
lifecycleCallbackClass
public LifecycleCallbackType<T> lifecycleCallbackClass(String 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
public String getLifecycleCallbackClass()
Returns thelifecycle-callback-classelement- Specified by:
getLifecycleCallbackClassin interfaceLifecycleCallbackType<T>- Returns:
- the node defined for the element
lifecycle-callback-class
-
removeLifecycleCallbackClass
public LifecycleCallbackType<T> removeLifecycleCallbackClass()
Removes thelifecycle-callback-classelement- Specified by:
removeLifecycleCallbackClassin interfaceLifecycleCallbackType<T>- Returns:
- the current instance of
LifecycleCallbackType
-
lifecycleCallbackMethod
public LifecycleCallbackType<T> lifecycleCallbackMethod(String 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
public String getLifecycleCallbackMethod()
Returns thelifecycle-callback-methodelement- Specified by:
getLifecycleCallbackMethodin interfaceLifecycleCallbackType<T>- Returns:
- the node defined for the element
lifecycle-callback-method
-
removeLifecycleCallbackMethod
public LifecycleCallbackType<T> removeLifecycleCallbackMethod()
Removes thelifecycle-callback-methodelement- Specified by:
removeLifecycleCallbackMethodin interfaceLifecycleCallbackType<T>- Returns:
- the current instance of
LifecycleCallbackType
-
-