Class StandardEnvironment

    • Constructor Detail

      • StandardEnvironment

        public StandardEnvironment()
    • Method Detail

      • signal

        public void signal​(Channel channel,
                           Signal signal)
      • set

        public void set​(String key,
                        String value)
        Adds a variable to the environment. This method is called set according to the name of the appropriate posix command set
        Parameters:
        key - environment variable name - never null/empty
        value - environment variable value
      • getSignalListeners

        protected Collection<SignalListener> getSignalListeners​(Signal signal,
                                                                boolean create)
        Retrieves the set of listeners registered for a signal
        Parameters:
        signal - The specified Signal
        create - If true and no current listeners are mapped then creates a new Collection
        Returns:
        The Collection of listeners registered for the signal - may be null in case create is false