Class TimeoutTypeImpl<T>

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

    public class TimeoutTypeImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, TimeoutType<T>
    This class implements the timeoutType xsd type
    • Constructor Detail

      • TimeoutTypeImpl

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

        public TimeoutTypeImpl​(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>
      • blockingTimeoutMillis

        public TimeoutType<T> blockingTimeoutMillis​(Integer blockingTimeoutMillis)
        Sets the blocking-timeout-millis element
        Specified by:
        blockingTimeoutMillis in interface TimeoutType<T>
        Parameters:
        blockingTimeoutMillis - the value for the element blocking-timeout-millis
        Returns:
        the current instance of TimeoutType
      • getBlockingTimeoutMillis

        public Integer getBlockingTimeoutMillis()
        Returns the blocking-timeout-millis element
        Specified by:
        getBlockingTimeoutMillis in interface TimeoutType<T>
        Returns:
        the node defined for the element blocking-timeout-millis
      • idleTimeoutMinutes

        public TimeoutType<T> idleTimeoutMinutes​(Integer idleTimeoutMinutes)
        Sets the idle-timeout-minutes element
        Specified by:
        idleTimeoutMinutes in interface TimeoutType<T>
        Parameters:
        idleTimeoutMinutes - the value for the element idle-timeout-minutes
        Returns:
        the current instance of TimeoutType
      • getIdleTimeoutMinutes

        public Integer getIdleTimeoutMinutes()
        Returns the idle-timeout-minutes element
        Specified by:
        getIdleTimeoutMinutes in interface TimeoutType<T>
        Returns:
        the node defined for the element idle-timeout-minutes
      • allocationRetry

        public TimeoutType<T> allocationRetry​(Integer allocationRetry)
        Sets the allocation-retry element
        Specified by:
        allocationRetry in interface TimeoutType<T>
        Parameters:
        allocationRetry - the value for the element allocation-retry
        Returns:
        the current instance of TimeoutType
      • getAllocationRetry

        public Integer getAllocationRetry()
        Returns the allocation-retry element
        Specified by:
        getAllocationRetry in interface TimeoutType<T>
        Returns:
        the node defined for the element allocation-retry
      • allocationRetryWaitMillis

        public TimeoutType<T> allocationRetryWaitMillis​(Integer allocationRetryWaitMillis)
        Sets the allocation-retry-wait-millis element
        Specified by:
        allocationRetryWaitMillis in interface TimeoutType<T>
        Parameters:
        allocationRetryWaitMillis - the value for the element allocation-retry-wait-millis
        Returns:
        the current instance of TimeoutType
      • getAllocationRetryWaitMillis

        public Integer getAllocationRetryWaitMillis()
        Returns the allocation-retry-wait-millis element
        Specified by:
        getAllocationRetryWaitMillis in interface TimeoutType<T>
        Returns:
        the node defined for the element allocation-retry-wait-millis
      • xaResourceTimeout

        public TimeoutType<T> xaResourceTimeout​(Integer xaResourceTimeout)
        Sets the xa-resource-timeout element
        Specified by:
        xaResourceTimeout in interface TimeoutType<T>
        Parameters:
        xaResourceTimeout - the value for the element xa-resource-timeout
        Returns:
        the current instance of TimeoutType
      • getXaResourceTimeout

        public Integer getXaResourceTimeout()
        Returns the xa-resource-timeout element
        Specified by:
        getXaResourceTimeout in interface TimeoutType<T>
        Returns:
        the node defined for the element xa-resource-timeout