gerrit/plugins
David Pursehouse 4c58e1031f Change: Add helper methods to check change state
To check a change's state the caller currently has to call getState()
and then do a comparison on the enum value.

To make this easier, introduce new methods on Change:

- isNew
- isMerged
- isAbandoned
- isClosed

Note that we don't add "isOpen" since there are no longer multiple
states that could be considered "open". Previously there were "new"
and "draft", but the draft workflow was removed.

Update callers to use the new methods.

Change-Id: Ic047f74b114e2277e66c878dace73ea8e0babab6
2019-02-14 13:48:51 +09:00
..
codemirror-editor@c4cf42b96a Update git submodules 2019-02-05 14:41:27 +00:00
commit-message-length-validator@556e427fd7 Update git submodules 2018-10-01 16:30:08 +00:00
delete-project@189b92641c Update git submodules 2019-02-12 07:38:44 +00:00
download-commands@22495f7aaa Update git submodules 2019-01-16 23:30:52 +00:00
gitiles@623105f14d Update git submodules 2019-02-11 23:40:29 +00:00
hooks@9d0ad9ae56 Replace anonymous classes with lambdas 2019-01-02 11:08:28 -08:00
replication@bdc5ad1fa5 Merge branch 'stable-2.16' 2019-01-21 14:53:00 +09:00
reviewnotes@d7ba4997b5 Change: Add helper methods to check change state 2019-02-14 13:48:51 +09:00
singleusergroup@17f5d016b8 AbstractDaemonTest: Inline setApiUser methods 2019-01-09 08:13:27 -08:00
webhooks@062902794f Update git submodules 2019-02-12 07:38:44 +00:00
BUILD Merge branch 'stable-2.16' 2019-01-30 17:59:22 +00:00
external_plugin_deps.bzl Apply buildifier to .bzl files. 2018-07-10 20:38:52 +09:00