You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/05/24 08:12:47 UTC
[brooklyn-server] branch master updated: expose details of
PropertyAccess DSL
This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
The following commit(s) were added to refs/heads/master by this push:
new 32730a7 expose details of PropertyAccess DSL
32730a7 is described below
commit 32730a7cbc85ab8765f1dd6fda2c2d5ed2e3fc9b
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Mon May 24 09:12:26 2021 +0100
expose details of PropertyAccess DSL
---
.../brooklyn/camp/brooklyn/spi/dsl/DslDeferredPropertyAccess.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/DslDeferredPropertyAccess.java b/camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/DslDeferredPropertyAccess.java
index b29cefc..f5f9a17 100644
--- a/camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/DslDeferredPropertyAccess.java
+++ b/camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/DslDeferredPropertyAccess.java
@@ -67,6 +67,14 @@ public class DslDeferredPropertyAccess extends BrooklynDslDeferredSupplier {
this.index = index;
}
+ public BrooklynDslDeferredSupplier getTarget() {
+ return target;
+ }
+
+ public Object getIndex() {
+ return index;
+ }
+
protected Object getIndexOnTarget(Object targetEvaluated) {
Object targetResult = target.get();
if (targetResult==null) {