private void init() { if (tcConfigConfiguration == null) { return; } if (tcConfigConfiguration.getUrl() != null) { addAttribute(new SimpleNodeAttribute("url", tcConfigConfiguration.getUrl()).optional(true)); } addAttribute(new SimpleNodeAttribute("rejoin", tcConfigConfiguration.isRejoin()).optional(true).defaultValue( TerracottaClientConfiguration.DEFAULT_REJOIN_VALUE)); addAttribute(new SimpleNodeAttribute("wanEnabledTSA", tcConfigConfiguration.isWanEnabledTSA()).optional(true).defaultValue( TerracottaClientConfiguration.DEFAULT_WAN_ENABLED_TSA_VALUE)); if (tcConfigConfiguration.getOriginalEmbeddedConfig() != null) { addChildElement(new TCConfigElement(this, tcConfigConfiguration.getOriginalEmbeddedConfig())); } }
private void init() { if (tcConfigConfiguration == null) { return; } if (tcConfigConfiguration.getUrl() != null) { addAttribute(new SimpleNodeAttribute("url", tcConfigConfiguration.getUrl()).optional(true)); } addAttribute(new SimpleNodeAttribute("rejoin", tcConfigConfiguration.isRejoin()).optional(true).defaultValue( TerracottaClientConfiguration.DEFAULT_REJOIN_VALUE)); if (tcConfigConfiguration.getOriginalEmbeddedConfig() != null) { addChildElement(new TCConfigElement(this, tcConfigConfiguration.getOriginalEmbeddedConfig())); } }
private void init() { if (tcConfigConfiguration == null) { return; } if (tcConfigConfiguration.getUrl() != null) { addAttribute(new SimpleNodeAttribute("url", tcConfigConfiguration.getUrl()).optional(true)); } addAttribute(new SimpleNodeAttribute("rejoin", tcConfigConfiguration.isRejoin()).optional(true).defaultValue( TerracottaClientConfiguration.DEFAULT_REJOIN_VALUE)); addAttribute(new SimpleNodeAttribute("wanEnabledTSA", tcConfigConfiguration.isWanEnabledTSA()).optional(true).defaultValue( TerracottaClientConfiguration.DEFAULT_WAN_ENABLED_TSA_VALUE)); if (tcConfigConfiguration.getOriginalEmbeddedConfig() != null) { addChildElement(new TCConfigElement(this, tcConfigConfiguration.getOriginalEmbeddedConfig())); } }
private void init() { if (tcConfigConfiguration == null) { return; } if (tcConfigConfiguration.getUrl() != null) { addAttribute(new SimpleNodeAttribute("url", tcConfigConfiguration.getUrl()).optional(true)); } addAttribute(new SimpleNodeAttribute("rejoin", tcConfigConfiguration.isRejoin()).optional(true).defaultValue( TerracottaClientConfiguration.DEFAULT_REJOIN_VALUE)); addAttribute(new SimpleNodeAttribute("wanEnabledTSA", tcConfigConfiguration.isWanEnabledTSA()).optional(true).defaultValue( TerracottaClientConfiguration.DEFAULT_WAN_ENABLED_TSA_VALUE)); if (tcConfigConfiguration.getOriginalEmbeddedConfig() != null) { addChildElement(new TCConfigElement(this, tcConfigConfiguration.getOriginalEmbeddedConfig())); } }