brooklyn.event.basic.SubElementConfigKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brooklyn-core Show documentation
Show all versions of brooklyn-core Show documentation
Entity implementation classes, events, and other core elements
package brooklyn.event.basic;
import java.util.Map;
import brooklyn.config.ConfigKey;
import brooklyn.management.ExecutionContext;
@SuppressWarnings("rawtypes")
public class SubElementConfigKey extends BasicConfigKey {
private static final long serialVersionUID = -1587240876351450665L;
public final ConfigKey parent;
public SubElementConfigKey(ConfigKey parent, Class type, String name) {
this(parent, type, name, name, null);
}
public SubElementConfigKey(ConfigKey parent, Class type, String name, String description) {
this(parent, type, name, description, null);
}
public SubElementConfigKey(ConfigKey parent, Class type, String name, String description, T defaultValue) {
super(type, name, description, defaultValue);
this.parent = parent;
}
@Override
public T extractValue(Map vals, ExecutionContext exec) {
return super.extractValue(vals, exec);
}
@Override
public boolean isSet(Map,?> vals) {
return super.isSet(vals);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy