Interface RecoverType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
RecoverTypeImpl
public interface RecoverType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
recoverType xsd type-
Method Summary
Modifier and TypeMethodDescriptionIf not already created, a newrecover-credentialelement with the given value will be created.If not already created, a newrecover-pluginelement with the given value will be created.Returns theno-recoveryattributenoRecovery(Boolean noRecovery) Sets theno-recoveryattributeRemoves theno-recoveryattributeRemoves therecover-credentialelementRemoves therecover-pluginelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
getOrCreateRecoverCredential
CredentialType<RecoverType<T>> getOrCreateRecoverCredential()If not already created, a newrecover-credentialelement with the given value will be created. Otherwise, the existingrecover-credentialelement will be returned.- Returns:
- a new or existing instance of
CredentialType<RecoverType>
-
removeRecoverCredential
RecoverType<T> removeRecoverCredential()Removes therecover-credentialelement- Returns:
- the current instance of
RecoverType
-
getOrCreateRecoverPlugin
ExtensionType<RecoverType<T>> getOrCreateRecoverPlugin()If not already created, a newrecover-pluginelement with the given value will be created. Otherwise, the existingrecover-pluginelement will be returned.- Returns:
- a new or existing instance of
ExtensionType<RecoverType>
-
removeRecoverPlugin
RecoverType<T> removeRecoverPlugin()Removes therecover-pluginelement- Returns:
- the current instance of
RecoverType
-
noRecovery
Sets theno-recoveryattribute- Parameters:
noRecovery- the value for the attributeno-recovery- Returns:
- the current instance of
RecoverType
-
isNoRecovery
Boolean isNoRecovery()Returns theno-recoveryattribute- Returns:
- the value defined for the attribute
no-recovery
-
removeNoRecovery
RecoverType<T> removeNoRecovery()Removes theno-recoveryattribute- Returns:
- the current instance of
RecoverType
-