Interface LifecycleCallbackType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
LifecycleCallbackTypeImpl
public interface LifecycleCallbackType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for thelifecycle-callbackTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract 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-methodelement
-
-
-
Method Detail
-
lifecycleCallbackClass
LifecycleCallbackType<T> lifecycleCallbackClass(String lifecycleCallbackClass)
Sets thelifecycle-callback-classelement- Parameters:
lifecycleCallbackClass- the value for the elementlifecycle-callback-class- Returns:
- the current instance of
LifecycleCallbackType
-
getLifecycleCallbackClass
String getLifecycleCallbackClass()
Returns thelifecycle-callback-classelement- Returns:
- the node defined for the element
lifecycle-callback-class
-
removeLifecycleCallbackClass
LifecycleCallbackType<T> removeLifecycleCallbackClass()
Removes thelifecycle-callback-classelement- Returns:
- the current instance of
LifecycleCallbackType
-
lifecycleCallbackMethod
LifecycleCallbackType<T> lifecycleCallbackMethod(String lifecycleCallbackMethod)
Sets thelifecycle-callback-methodelement- Parameters:
lifecycleCallbackMethod- the value for the elementlifecycle-callback-method- Returns:
- the current instance of
LifecycleCallbackType
-
getLifecycleCallbackMethod
String getLifecycleCallbackMethod()
Returns thelifecycle-callback-methodelement- Returns:
- the node defined for the element
lifecycle-callback-method
-
removeLifecycleCallbackMethod
LifecycleCallbackType<T> removeLifecycleCallbackMethod()
Removes thelifecycle-callback-methodelement- Returns:
- the current instance of
LifecycleCallbackType
-
-