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 therecoverTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DsSecurityType<RecoverType<T>>getOrCreateRecoverCredential()If not already created, a newrecover-credentialelement with the given value will be created.ExtensionType<RecoverType<T>>getOrCreateRecoverPlugin()If not already created, a newrecover-pluginelement with the given value will be created.BooleanisNoRecovery()Returns theno-recoveryattributeRecoverType<T>noRecovery(Boolean noRecovery)Sets theno-recoveryattributeRecoverType<T>removeNoRecovery()Removes theno-recoveryattributeRecoverType<T>removeRecoverCredential()Removes therecover-credentialelementRecoverType<T>removeRecoverPlugin()Removes therecover-pluginelement
-
-
-
Method Detail
-
getOrCreateRecoverCredential
DsSecurityType<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
DsSecurityType>
-
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>
-
removeRecoverPlugin
RecoverType<T> removeRecoverPlugin()
Removes therecover-pluginelement- Returns:
- the current instance of
RecoverType
-
noRecovery
RecoverType<T> noRecovery(Boolean 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
-
-