All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.newrelic.agent.security.intcodeagent.models.javaagent.IntCodeControlCommand Maven / Gradle / Ivy

Go to download

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.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import java.util.List;
import java.util.Map;

@JsonInclude(Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class IntCodeControlCommand {

    public static final int SHUTDOWN_LANGUAGE_AGENT = 1;
    public static final int UNSUPPORTED_AGENT = 5;
    public static final int EVENT_RESPONSE = 6;
    public static final int OLD_AGENT = 7;
    public static final int STARTUP_WELCOME_MSG = 10;

    public static final int FUZZ_REQUEST = 11;
    public static final int RECONNECT_AT_WILL = 12;
    public static final int ENTER_IAST_COOLDOWN = 13;
    public static final int IAST_RECORD_DELETE_CONFIRMATION = 14;
    public static final int SEND_POLICY = 100;
    public static final int SEND_POLICY_PARAMETERS = 101;
    public static final int POLICY_UPDATE_FAILED_DUE_TO_VALIDATION_ERROR = 102;

    private String id;

    private String jsonName;
    private int controlCommand;
    private Object data;
    private List arguments;
    private Map reflectedMetaData;

    public IntCodeControlCommand() {
    }

    /**
     * @return the jsonName
     */
    public String getJsonName() {
        return jsonName;
    }

    /**
     * @param jsonName the jsonName to set
     */
    public void setJsonName(String jsonName) {
        this.jsonName = jsonName;
    }

    /**
     * @return the controlCommand
     */
    public int getControlCommand() {
        return controlCommand;
    }

    /**
     * @param controlCommand the controlCommand to set
     */
    public void setControlCommand(int controlCommand) {
        this.controlCommand = controlCommand;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    /**
     * @return the arguments
     */
    public List getArguments() {
        return arguments;
    }

    /**
     * @param arguments the arguments to set
     */
    public void setArguments(List arguments) {
        this.arguments = arguments;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Map getReflectedMetaData() {
        return reflectedMetaData;
    }

    public void setReflectedMetaData(Map reflectedMetaData) {
        this.reflectedMetaData = reflectedMetaData;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy