com.newrelic.agent.security.intcodeagent.models.javaagent.StartupProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of newrelic-security-agent Show documentation
Show all versions of newrelic-security-agent Show documentation
The New Relic Security Java agent module for full-stack security. To be used in newrelic-java-agent only.
The newest version!
package com.newrelic.agent.security.intcodeagent.models.javaagent;
import com.newrelic.agent.security.intcodeagent.websocket.JsonConverter;
public class StartupProperties {
private String logLevel;
private String deploymentEnv;
private FTPProperties ftpProperties;
private boolean printHttpRequest;
public StartupProperties() {
}
public StartupProperties(String logLevel, String deploymentEnv, FTPProperties ftpProperties, boolean printHttpRequest) {
super();
this.logLevel = logLevel;
this.deploymentEnv = deploymentEnv;
this.ftpProperties = ftpProperties;
this.printHttpRequest = printHttpRequest;
}
/**
* @return the logLevel
*/
public String getLogLevel() {
return logLevel;
}
/**
* @param logLevel the logLevel to set
*/
public void setLogLevel(String logLevel) {
this.logLevel = logLevel;
}
/**
* @return the deploymentEnv
*/
public String getDeploymentEnv() {
return deploymentEnv;
}
/**
* @param deploymentEnv the deploymentEnv to set
*/
public void setDeploymentEnv(String deploymentEnv) {
this.deploymentEnv = deploymentEnv;
}
/**
* @return the ftpProperties
*/
public FTPProperties getFtpProperties() {
return ftpProperties;
}
/**
* @param ftpProperties the ftpProperties to set
*/
public void setFtpProperties(FTPProperties ftpProperties) {
this.ftpProperties = ftpProperties;
}
/**
* @return the printHttpRequest
*/
public boolean isPrintHttpRequest() {
return printHttpRequest;
}
/**
* @param printHttpRequest the printHttpRequest to set
*/
public void setPrintHttpRequest(boolean printHttpRequest) {
this.printHttpRequest = printHttpRequest;
}
@Override
public String toString() {
return JsonConverter.toJSON(this);
}
}