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

com.hubspot.singularity.config.shell.ShellCommandOptionDescriptor Maven / Gradle / Ivy

package com.hubspot.singularity.config.shell;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.hibernate.validator.constraints.NotEmpty;

public class ShellCommandOptionDescriptor {
  @NotEmpty
  @JsonProperty
  private String name;

  @JsonProperty
  private String description;

  public String getName() {
    return name;
  }

  public ShellCommandOptionDescriptor setName(String name) {
    this.name = name;
    return this;
  }

  public String getDescription() {
    return description;
  }

  public ShellCommandOptionDescriptor setDescription(String description) {
    this.description = description;
    return this;
  }

  @Override
  public String toString() {
    return (
      "ShellCommandOptionDescriptor [name=" + name + ", description=" + description + "]"
    );
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy