1 5 package com.tc.object.config.schema; 6 7 import com.tc.config.schema.BaseNewConfigObject; 8 import com.tc.config.schema.context.ConfigContext; 9 import com.tc.config.schema.dynamic.BooleanConfigItem; 10 import com.terracottatech.config.DsoClientData; 11 12 15 public class StandardDSORuntimeOutputOptions extends BaseNewConfigObject implements DSORuntimeOutputOptions { 16 17 private final BooleanConfigItem doAutoLockDetails; 18 private final BooleanConfigItem doCaller; 19 private final BooleanConfigItem doFullStack; 20 21 public StandardDSORuntimeOutputOptions(ConfigContext context) { 22 super(context); 23 24 this.context.ensureRepositoryProvides(DsoClientData.class); 25 26 this.doAutoLockDetails = this.context.booleanItem("debugging/runtime-output-options/auto-lock-details"); 27 this.doCaller = this.context.booleanItem("debugging/runtime-output-options/caller"); 28 this.doFullStack = this.context.booleanItem("debugging/runtime-output-options/full-stack"); 29 } 30 31 public BooleanConfigItem doAutoLockDetails() { 32 return this.doAutoLockDetails; 33 } 34 35 public BooleanConfigItem doCaller() { 36 return this.doCaller; 37 } 38 39 public BooleanConfigItem doFullStack() { 40 return this.doFullStack; 41 } 42 43 } 44 | Popular Tags |