Class ClassFactoryCollector

    • Field Detail

      • factories

        private java.util.ArrayList factories
        Storage for the class factories.
    • Constructor Detail

      • ClassFactoryCollector

        public ClassFactoryCollector()
        Creates a new class factory collector.
    • Method Detail

      • addFactory

        public void addFactory​(ClassFactory factory)
        Adds a class factory to the collection.
        Parameters:
        factory - the factory.
      • getFactories

        public java.util.Iterator getFactories()
        Returns an iterator the provides access to all the factories in the collection.
        Returns:
        The iterator.
      • configure

        public void configure​(Configuration config)
        Configures this factory. The configuration contains several keys and their defined values. The given reference to the configuration object will remain valid until the report parsing or writing ends.

        The configuration contents may change during the reporting.

        Specified by:
        configure in interface ClassFactory
        Overrides:
        configure in class ClassFactoryImpl
        Parameters:
        config - the configuration, never null
      • equals

        public boolean equals​(java.lang.Object o)
        Tests for equality.
        Specified by:
        equals in interface ClassFactory
        Overrides:
        equals in class ClassFactoryImpl
        Parameters:
        o - the object to test.
        Returns:
        A boolean.