| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addSignalListener(SignalListener
the listener, Collection<Signal> SignalListener to registerthe signals)Signals the listener is interested inImplements org. Add a qualified listener for the specific signals |
| public Map | |
| public Map | getPtyModes()
Implements org. Retrieve the PTY modes settings |
| protected Collection | Returns: TheCollection of listeners registered for the signal - may be null in case
create is falseThe specified signal, boolean SignalIf create)true and no current listeners are mapped then creates a new CollectionRetrieves the set of listeners registered for a signal |
| public void | removeSignalListener(SignalListener
the listener)SignalListener to removeImplements org. Remove a previously registered listener for all the signals it was registered |
| public void | |
| public void | |
| public String |
| env | back to summary |
|---|---|
| private final Map<String, String> env | |
| listeners | back to summary |
|---|---|
| private final Map<Signal, Collection<SignalListener>> listeners | |
| ptyModes | back to summary |
|---|---|
| private final Map<PtyMode, Integer> ptyModes | |
| StandardEnvironment | back to summary |
|---|---|
| public StandardEnvironment() | |
| addSignalListener | back to summary |
|---|---|
| public void addSignalListener(SignalListener listener, Collection<Signal> signals) Implements org. Doc from org. Add a qualified listener for the specific signals
| |
| getEnv | back to summary |
|---|---|
| public Map Implements org. Doc from org. Retrieve the environment map | |
| getPtyModes | back to summary |
|---|---|
| public Map Implements org. Doc from org. Retrieve the PTY modes settings | |
| getSignalListeners | back to summary |
|---|---|
| protected Collection Retrieves the set of listeners registered for a signal
| |
| removeSignalListener | back to summary |
|---|---|
| public void removeSignalListener(SignalListener listener) Implements org. Doc from org. Remove a previously registered listener for all the signals it was registered
| |
| set | back to summary |
|---|---|
| public void set(String key, String value) Adds a variable to the environment. This method is called | |
| signal | back to summary |
|---|---|
| public void signal(Channel channel, Signal signal) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |