// Path: vertx-deploy-agent/src/main/java/nl/jpoint/vertx/deploy/agent/util/LogConstants.java
// public final class LogConstants {
//     public static final String ERROR_EXECUTING_REQUEST = "Error executing request {}.";
//     public static final String REQUEST_ALREADY_REGISTERED = "[{} - {}]: Request already registered.";
//     public static final String REQUEST_NOT_REGISTERED = "[{} - {}]: Request not registered.";
// 
// 
//     public static final String INVOKE_CONTAINER = "InvokeContainer";
//     public static final String CONSOLE_COMMAND = "ConsoleCommand";
//     public static final String CLUSTER_MANAGER = "ClusterManager";
//     public static final String DEPLOY_REQUEST = "DeployRequest";
//     public static final String DEPLOY_CONFIG_REQUEST = "DeployConfigRequest";
//     public static final String DEPLOY_ARTIFACT_REQUEST = "DeployArtifactRequest";
//     public static final String AWS_ELB_REQUEST = "ConfigureAwsElb";
//     public static final String AWS_AS_REQUEST = "ConfigureAwsAutoScaling";
//     public static final String STARTUP = "Startup";
// 
//     private LogConstants() {
//         // hide
//     }
// }


import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import nl.jpoint.vertx.deploy.agent.util.LogConstants;
package nl.jpoint.vertx.deploy.agent.request;


public class DeployConfigRequest extends ModuleRequest {

    @JsonCreator
    private DeployConfigRequest(@JsonProperty("group_id") final String groupId, @JsonProperty("artifact_id") final String artifactId,
                                @JsonProperty("version") final String version, @JsonProperty("classifier") final String classifier,
                                @JsonProperty("type") final String type) {
        super(groupId, artifactId, version, classifier, type);
    }

    public static DeployConfigRequest build(String groupId, String artifactId, String version, String classifier) {
        return new DeployConfigRequest(groupId, artifactId, version, classifier, "config");
    }

    @Override
    public boolean deleteBase() {
        return false;
    }

    @Override
    public boolean checkConfig() {
        return true;
    }

    @Override
    public String getLogName() {
// Path: vertx-deploy-agent/src/main/java/nl/jpoint/vertx/deploy/agent/util/LogConstants.java
// public final class LogConstants {
//     public static final String ERROR_EXECUTING_REQUEST = "Error executing request {}.";
//     public static final String REQUEST_ALREADY_REGISTERED = "[{} - {}]: Request already registered.";
//     public static final String REQUEST_NOT_REGISTERED = "[{} - {}]: Request not registered.";
// 
// 
//     public static final String INVOKE_CONTAINER = "InvokeContainer";
//     public static final String CONSOLE_COMMAND = "ConsoleCommand";
//     public static final String CLUSTER_MANAGER = "ClusterManager";
//     public static final String DEPLOY_REQUEST = "DeployRequest";
//     public static final String DEPLOY_CONFIG_REQUEST = "DeployConfigRequest";
//     public static final String DEPLOY_ARTIFACT_REQUEST = "DeployArtifactRequest";
//     public static final String AWS_ELB_REQUEST = "ConfigureAwsElb";
//     public static final String AWS_AS_REQUEST = "ConfigureAwsAutoScaling";
//     public static final String STARTUP = "Startup";
// 
//     private LogConstants() {
//         // hide
//     }
// }


// Path: vertx-deploy-agent/src/main/java/nl/jpoint/vertx/deploy/agent/request/DeployConfigRequest.java
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import nl.jpoint.vertx.deploy.agent.util.LogConstants;

package nl.jpoint.vertx.deploy.agent.request;


public class DeployConfigRequest extends ModuleRequest {

    @JsonCreator
    private DeployConfigRequest(@JsonProperty("group_id") final String groupId, @JsonProperty("artifact_id") final String artifactId,
                                @JsonProperty("version") final String version, @JsonProperty("classifier") final String classifier,
                                @JsonProperty("type") final String type) {
        super(groupId, artifactId, version, classifier, type);
    }

    public static DeployConfigRequest build(String groupId, String artifactId, String version, String classifier) {
        return new DeployConfigRequest(groupId, artifactId, version, classifier, "config");
    }

    @Override
    public boolean deleteBase() {
        return false;
    }

    @Override
    public boolean checkConfig() {
        return true;
    }

    @Override
    public String getLogName() {
        return LogConstants.DEPLOY_CONFIG_REQUEST;