Class HALMGlobalConfig

    • Constructor Detail

      • HALMGlobalConfig

        @Inject
        public HALMGlobalConfig()
        Constructor
      • HALMGlobalConfig

        public HALMGlobalConfig​(List<HALMConnection> connections)
        Constructor
        Parameters:
        connections - Connections to use to initialize internal connections
    • Method Detail

      • getConnections

        public List<HALMConnection> getConnections()
        Returns the list of connections
        Returns:
        List of configured connections
      • setConnections

        public void setConnections​(List<HALMConnection> connections)
        Sets the connections
        Parameters:
        connections - List of connection to store
      • getConnectionByNameOrID

        public HALMConnection getConnectionByNameOrID​(String nameOrID)
        This looks up a connection by either its name or ID. Useful in the context of a pipeline where we could have either. Names are not unique, but IDs are.
        Parameters:
        nameOrID - Name or ID to search for
        Returns:
        Returns the first match it finds, without regard for the order of the list.