public class RecoverTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, RecoverType<T>
recoverType
xsd typeConstructor and Description |
---|
RecoverTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
RecoverTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
Modifier and Type | Method and Description |
---|---|
DsSecurityType<RecoverType<T>> |
getOrCreateRecoverCredential()
If not already created, a new
recover-credential element with the given value will be created. |
ExtensionType<RecoverType<T>> |
getOrCreateRecoverPlugin()
If not already created, a new
recover-plugin element with the given value will be created. |
Boolean |
isNoRecovery()
Returns the
no-recovery attribute |
RecoverType<T> |
noRecovery(Boolean noRecovery)
Sets the
no-recovery attribute |
RecoverType<T> |
removeNoRecovery()
Removes the
no-recovery attribute |
RecoverType<T> |
removeRecoverCredential()
Removes the
recover-credential element |
RecoverType<T> |
removeRecoverPlugin()
Removes the
recover-plugin element |
T |
up() |
public RecoverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public DsSecurityType<RecoverType<T>> getOrCreateRecoverCredential()
recover-credential
element with the given value will be created.
Otherwise, the existing recover-credential
element will be returned.getOrCreateRecoverCredential
in interface RecoverType<T>
DsSecurityType>
public RecoverType<T> removeRecoverCredential()
recover-credential
elementremoveRecoverCredential
in interface RecoverType<T>
RecoverType
public ExtensionType<RecoverType<T>> getOrCreateRecoverPlugin()
recover-plugin
element with the given value will be created.
Otherwise, the existing recover-plugin
element will be returned.getOrCreateRecoverPlugin
in interface RecoverType<T>
ExtensionType>
public RecoverType<T> removeRecoverPlugin()
recover-plugin
elementremoveRecoverPlugin
in interface RecoverType<T>
RecoverType
public RecoverType<T> noRecovery(Boolean noRecovery)
no-recovery
attributenoRecovery
in interface RecoverType<T>
noRecovery
- the value for the attribute no-recovery
RecoverType
public Boolean isNoRecovery()
no-recovery
attributeisNoRecovery
in interface RecoverType<T>
no-recovery
public RecoverType<T> removeNoRecovery()
no-recovery
attributeremoveNoRecovery
in interface RecoverType<T>
RecoverType
Copyright © 2017 JBoss by Red Hat. All rights reserved.