Closes #259 Create OptionalEntity to allow configurable addition of child entities
Allows entity creation to be controlled using a configuration key value. Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/9077ade0 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/9077ade0 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/9077ade0 Branch: refs/heads/master Commit: 9077ade063fd4be341e3deb4953248c133fb0a5a Parents: 4e20523 5731b9d Author: Svetoslav Neykov <[email protected]> Authored: Mon Jul 25 11:11:28 2016 +0300 Committer: Svetoslav Neykov <[email protected]> Committed: Mon Jul 25 11:11:28 2016 +0300 ---------------------------------------------------------------------- .../entity/stock/ConditionalEntity.java | 61 +++++++++++++ .../entity/stock/ConditionalEntityImpl.java | 44 +++++++++ .../entity/stock/ConditionalEntityTest.java | 95 ++++++++++++++++++++ 3 files changed, 200 insertions(+) ----------------------------------------------------------------------
