aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar ulfjack <ulfjack@google.com>2018-05-17 07:46:47 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-05-17 07:48:10 -0700
commitd1ec570fb6ef8d142b0cf381df008c0f209b57aa (patch)
treeec84868f78a2080556f1e6b56149bff4d283b166 /site
parenta61b53a8ef65881c6c4a69f16edc52ed7f1662a3 (diff)
Rename CommandAction.getEnvironment, add AbstractAction.getEnvironment
This is a cleanup to clarify the code. 1. The getEnvironment method in the CommandAction interface does not have access to the clientEnv, so it's return value is necessarily incomplete. Rename to getIncompleteEnvironmentForTesting. 2. Add a final getEnvironment method to AbstractAction, which returns the ActionEnvironment, which is intended to be a complete description of the intended final environment of the action (technically, of any spawn running within the action). This is not currently used, but is provided to prevent action subclasses to add such a method (it may be used in the future). PiperOrigin-RevId: 196991091
Diffstat (limited to 'site')
0 files changed, 0 insertions, 0 deletions