Class RecoverTypeImpl<T>

  • All Implemented Interfaces:
    RecoverType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

    public class RecoverTypeImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, RecoverType<T>
    This class implements the recoverType xsd type
    • Constructor Detail

      • RecoverTypeImpl

        public RecoverTypeImpl​(T t,
                               String nodeName,
                               org.jboss.shrinkwrap.descriptor.spi.node.Node node)
      • RecoverTypeImpl

        public RecoverTypeImpl​(T t,
                               String nodeName,
                               org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                               org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
    • Method Detail

      • up

        public T up()
        Specified by:
        up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
      • getOrCreateRecoverCredential

        public CredentialType<RecoverType<T>> getOrCreateRecoverCredential()
        If not already created, a new recover-credential element with the given value will be created. Otherwise, the existing recover-credential element will be returned.
        Specified by:
        getOrCreateRecoverCredential in interface RecoverType<T>
        Returns:
        a new or existing instance of CredentialType>
      • getOrCreateRecoverPlugin

        public ExtensionType<RecoverType<T>> getOrCreateRecoverPlugin()
        If not already created, a new recover-plugin element with the given value will be created. Otherwise, the existing recover-plugin element will be returned.
        Specified by:
        getOrCreateRecoverPlugin in interface RecoverType<T>
        Returns:
        a new or existing instance of ExtensionType>
      • noRecovery

        public RecoverType<T> noRecovery​(Boolean noRecovery)
        Sets the no-recovery attribute
        Specified by:
        noRecovery in interface RecoverType<T>
        Parameters:
        noRecovery - the value for the attribute no-recovery
        Returns:
        the current instance of RecoverType
      • isNoRecovery

        public Boolean isNoRecovery()
        Returns the no-recovery attribute
        Specified by:
        isNoRecovery in interface RecoverType<T>
        Returns:
        the value defined for the attribute no-recovery
      • removeNoRecovery

        public RecoverType<T> removeNoRecovery()
        Removes the no-recovery attribute
        Specified by:
        removeNoRecovery in interface RecoverType<T>
        Returns:
        the current instance of RecoverType