commit | 9ff68772a88d239dc751c0363c9989b877253d5c | [log] [tgz] |
---|---|---|
author | Martin Fick <mfick@codeaurora.org> | Thu Nov 04 07:48:58 2021 -0600 |
committer | Martin Fick <mfick@codeaurora.org> | Wed Jan 12 18:53:15 2022 +0000 |
tree | 2868de7920095ad96777b3e972ba30efbfe760ca | |
parent | a8ca1fb0e6154b5e3dd700c9b59ce57ea964d1f7 [diff] |
Return Optional<Task> in Task.Config Instead of returning null when a task is not available, return an Optional<Task> to help clarify expectations and make maintenance easier. To avoid API confusion with java Optional, use the term "expression" instead of "name" and "optional" for task expressions which can be optional, and improve the docs. Change-Id: Ifb4b6556e0a87ebbebb4b57d5f22b985ea87c695