Class InitConfig


  • public class InitConfig
    extends Object
    Configuration for initializing newly instantiated Box extension classes.
    Author:
    Charles Draper
    • Constructor Detail

      • InitConfig

        public InitConfig​(Box box,
                          Source source)
        Creates a new InitConfig initialized with the given box and source.
        Parameters:
        box - the box object
        source - the source
    • Method Detail

      • getSourceName

        public String getSourceName()
        Returns the source name.
        Returns:
        the sourceName
      • isProcessor

        public boolean isProcessor()
        Returns whether or not this is of type processor.
        Returns:
        whether or not this is of type processor
      • isHarvester

        public boolean isHarvester()
        Returns whether or not this is of type harvester.
        Returns:
        whether or not this is of type harvester
      • isBoxDatabase

        public boolean isBoxDatabase()
        Returns whether or not this is of type database.
        Returns:
        whether or not this is of type database
      • isCursorDatabase

        public boolean isCursorDatabase()
        Returns whether or not this is of type cursor database.
        Returns:
        whether or not this is of type cursor database
      • isOther

        public boolean isOther()
        Returns if type is other.
        Returns:
        if type is other