com.tosan.tools.tracker.starter.config.TrackConfig Maven / Gradle / Ivy
The newest version!
package com.tosan.tools.tracker.starter.config;
import com.tosan.tools.mask.starter.config.SecureParameter;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;
/**
* @author M.khoshnevisan
* @since 8/27/2023
*/
public class TrackConfig {
/**
* Parameters in the service input that will not be tracked
*/
private Set ignoredArgs = new HashSet<>();
/**
* Base exception classes in the application
*/
private Set baseExceptions;
/**
* Locale of the application
*/
private Locale locale;
/**
* Errors outside the baseExceptions list or its subsets will be categorized under the serviceExceptionName
*/
private String serviceExceptionName;
/**
* Secure parameters that will be masked
*/
private Set secureParameters = new HashSet<>();
public Set getIgnoredArgs() {
return ignoredArgs;
}
public void setIgnoredArgs(Set ignoredArgs) {
this.ignoredArgs = ignoredArgs;
}
public Set getBaseExceptions() {
return baseExceptions;
}
public void setBaseExceptions(Set baseExceptions) {
this.baseExceptions = baseExceptions;
}
public String getServiceExceptionName() {
return serviceExceptionName;
}
public void setServiceExceptionName(String serviceExceptionName) {
this.serviceExceptionName = serviceExceptionName;
}
public Set getSecureParameters() {
return secureParameters;
}
public void setSecureParameters(Set secureParameters) {
this.secureParameters = secureParameters;
}
public Locale getLocale() {
return locale;
}
public void setLocale(Locale locale) {
this.locale = locale;
}
}