com.ibm.ia.testdriver.data

Interface EntitySource<T>

  • Type Parameters:
    T - The type of meta data object related to each entity returned by this entity source iterator. See EntitySourceIterator.getRelatedEntityMetaData(String, String).
    All Superinterfaces:
    java.lang.Iterable<com.ibm.ia.model.Entity>


    public interface EntitySource<T>
    extends java.lang.Iterable<com.ibm.ia.model.Entity>
    An EntitySource represents a source of entities that can be loaded into a solution. Use the iterator() method to obtain a Iterator that can be used with the TestDriver.loadEntities(Iterator) method.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      EntitySourceIterator<T> iterator() 
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • SKIP_NO_FAILURES

        static final int SKIP_NO_FAILURES
        Do not skip any failures. An exception will be thrown when the first problem is encountered.
        See Also:
        Constant Field Values
      • SKIP_UNRECOGNISED_ENTITIES

        static final int SKIP_UNRECOGNISED_ENTITIES
        Skip any entities that are unrecognised by the solution. Unrecognised entities will not trigger an exception.
        See Also:
        Constant Field Values
    • Method Detail

      • iterator

        EntitySourceIterator<T> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<com.ibm.ia.model.Entity>

© Copyright IBM 2017