Interface DriversType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    DriversTypeImpl

    public interface DriversType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the driversType xsd type
    • Method Detail

      • getOrCreateDriver

        DriverType<DriversType<T>> getOrCreateDriver()
        If not already created, a new driver element will be created and returned. Otherwise, the first existing driver element will be returned.
        Returns:
        the instance defined for the element driver
      • createDriver

        DriverType<DriversType<T>> createDriver()
        Creates a new driver element
        Returns:
        the new created instance of DriverType>
      • removeAllDriver

        DriversType<T> removeAllDriver()
        Removes all driver elements
        Returns:
        the current instance of DriverType>