Class MultiInstance<E>

  • All Implemented Interfaces:
    io.vanillabp.spi.service.MultiInstanceElementResolver.MultiInstance<E>

    public class MultiInstance<E>
    extends java.lang.Object
    implements io.vanillabp.spi.service.MultiInstanceElementResolver.MultiInstance<E>
    • Constructor Summary

      Constructors 
      Constructor Description
      MultiInstance​(E element, int total, int index)  
    • Constructor Detail

      • MultiInstance

        public MultiInstance​(E element,
                             int total,
                             int index)
    • Method Detail

      • getElement

        public E getElement()
        Specified by:
        getElement in interface io.vanillabp.spi.service.MultiInstanceElementResolver.MultiInstance<E>
      • getTotal

        public int getTotal()
        Specified by:
        getTotal in interface io.vanillabp.spi.service.MultiInstanceElementResolver.MultiInstance<E>
      • getIndex

        public int getIndex()
        Specified by:
        getIndex in interface io.vanillabp.spi.service.MultiInstanceElementResolver.MultiInstance<E>