/** * Whether to disable the compile step. * * @return Whether to disable the compile step. */ public boolean isDisableCompile() { return this.config.getBoolean("[@disableCompile]", true); }
/** * Whether to separate the common code from the project-specific code. * * @return Whether to separate the common code from the project-specific code. */ public boolean isSeparateCommonCode() { return this.config.getBoolean("[@separateCommonCode]", true); }
/** * Whether to separate the common code from the project-specific code. * * @return Whether to separate the common code from the project-specific code. */ public boolean isSeparateCommonCode() { return this.config.getBoolean("[@separateCommonCode]", true); }
/** * Whether there should be a single file per class. Default: false (all classes are contained in a single file). * * @return Whether there should be a single file per class. */ public boolean isSingleFilePerClass() { return this.config.getBoolean("[@singleFilePerClass]", false); }
/** * Whether there should be a single file per class. Default: false (all classes are contained in a single file). * * @return Whether there should be a single file per class. */ public boolean isSingleFilePerClass() { return this.config.getBoolean("[@singleFilePerClass]", false); }
/** * Whether to require the C# client code. * * @return Whether to require the C# client code. */ public boolean isRequire() { return this.config.getBoolean("[@require]", false); }
/** * Whether to disable the compilation of the java sources (default: false). * * @return Whether to disable the compilation of the java sources (default: false). */ public boolean isDisableCompile() { return this.config.getBoolean("[@disableCompile]", false); }
/** * Whether there should be a single file per class. Default: false (all classes are contained in a single file). * * @return Whether there should be a single file per class. */ public boolean isSingleFilePerClass() { return this.config.getBoolean("[@singleFilePerClass]", false); }
/** * Whether to disable the REST mountpoint documentation. * * @return Whether to disable the REST mountpoint documentation. */ public boolean isDisableRestMountpoint() { return this.config.getBoolean("[@disableRestMountpoint]", false); }
/** * Whether to require the C# client code. * * @return Whether to require the C# client code. */ public boolean isRequire() { return this.config.getBoolean("[@require]", false); }
@Override public void configure(HierarchicalConfiguration config) throws ConfigurationException { this.config = config; this.enableJmx = config.getBoolean("[@enableJmx]", true); }
/** * Whether there should be a single file per class. Default: false (all classes are contained in a single file). * * @return Whether there should be a single file per class. */ public boolean isSingleFilePerClass() { return this.config.getBoolean("[@singleFilePerClass]", false); }
builder.setReturnToDepot(vehicleConfig.getBoolean("returnToDepot"));
/** * Whether to disable the compilation of the java sources (default: false). * * @return Whether to disable the compilation of the java sources (default: false). */ public boolean isDisableCompile() { return this.config.getBoolean("[@disableCompile]", this.jacksonModule == null || !this.jacksonModule.isJacksonDetected()); }
public void configure(HierarchicalConfiguration handlerConfiguration) throws ConfigurationException { setBlockSoftFail(handlerConfiguration.getBoolean( "blockSoftFail", false)); setBlockPermError(handlerConfiguration.getBoolean("blockPermError", true)); }
public void configure(HierarchicalConfiguration configuration) throws ConfigurationException{ setIgnoreCase(configuration.getBoolean("ignoreCase", false)); setEnableAliases(configuration.getBoolean("enableAliases", false)); setEnableForwarding(configuration.getBoolean("enableForwarding", false)); doConfigure(configuration); }
@Override public void configure(HierarchicalConfiguration configuration) throws ConfigurationException { setIgnoreCase(configuration.getBoolean("ignoreCase", false)); setEnableAliases(configuration.getBoolean("enableAliases", false)); setEnableForwarding(configuration.getBoolean("enableForwarding", false)); super.configure(configuration); }
@Override public void configure(HierarchicalConfiguration configuration) throws ConfigurationException { virtualHosting = configuration.getBoolean("enableVirtualHosting", getDefaultVirtualHostingValue()); administratorId = Optional.ofNullable(configuration.getString("administratorId")); doConfigure(configuration); }
@Override protected void loadHandlerFromXML(XMLConfiguration xml) throws IOException { List<HierarchicalConfiguration> nodes = xml.configurationsAt("copy"); if (!nodes.isEmpty()) { list.clear(); } for (HierarchicalConfiguration node : nodes) { addCopyDetails(node.getString("[@fromField]", null), node.getString("[@toField]", null), node.getBoolean("[@overwrite]", false)); } }
@Override protected void loadHandlerFromXML(XMLConfiguration xml) throws IOException { List<HierarchicalConfiguration> nodes = xml.configurationsAt("split"); for (HierarchicalConfiguration node : nodes) { addSplit( node.getString("[@fromField]"), node.getString("[@toField]", null), node.getString("separator"), node.getBoolean("[@regex]", false)); } }