org.wildfly.swarm.config.jca.Tracer Maven / Gradle / Ivy
package org.wildfly.swarm.config.jca;
import org.wildfly.config.runtime.Implicit;
import org.wildfly.config.runtime.ResourceType;
import org.wildfly.config.runtime.ModelNodeBinding;
/**
* Tracer for resource adapters
*/
@ResourceType("tracer")
@Implicit
public class Tracer {
private String key;
private Boolean enabled;
public Tracer() {
this.key = "tracer";
}
public String getKey() {
return this.key;
}
/**
* Specify whether tracer is enabled
*/
@ModelNodeBinding(detypedName = "enabled")
public Boolean enabled() {
return this.enabled;
}
/**
* Specify whether tracer is enabled
*/
@SuppressWarnings("unchecked")
public Tracer enabled(Boolean value) {
this.enabled = value;
return (Tracer) this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy