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 29069e9da1 allow AttrWhenReadyOptions fields to be edited
29069e9da1 is described below
commit 29069e9da1245f48075ee2a35951c69a064e2863
Author: Alex Heneveld <[email protected]>
AuthorDate: Fri Jul 19 13:37:58 2024 +0100
allow AttrWhenReadyOptions fields to be edited
---
.../org/apache/brooklyn/core/sensor/DependentConfiguration.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/core/src/main/java/org/apache/brooklyn/core/sensor/DependentConfiguration.java
b/core/src/main/java/org/apache/brooklyn/core/sensor/DependentConfiguration.java
index e29cc3ee10..c95cf7e68e 100644
---
a/core/src/main/java/org/apache/brooklyn/core/sensor/DependentConfiguration.java
+++
b/core/src/main/java/org/apache/brooklyn/core/sensor/DependentConfiguration.java
@@ -138,13 +138,13 @@ public class DependentConfiguration {
public static class AttributeWhenReadyOptions {
@JsonAlias("timeoutIfDown")
- Duration timeout_if_down;
- Duration timeout;
+ public Duration timeout_if_down;
+ public Duration timeout;
@JsonAlias("abortIfOnFire")
- boolean abort_if_on_fire = true;
+ public boolean abort_if_on_fire = true;
@JsonAlias("waitForTruthy")
- boolean wait_for_truthy = true;
+ public boolean wait_for_truthy = true;
public static AttributeWhenReadyOptions defaultOptions() {
AttributeWhenReadyOptions result = new AttributeWhenReadyOptions();