package org.jenkinsci.plugins.youtrack;

import hudson.Extension;
import hudson.model.AbstractDescribableImpl;
import hudson.model.Descriptor;
import lombok.Getter;
import lombok.Setter;
import org.kohsuke.stapler.DataBoundConstructor;

/**
 * The represents
 */
public class PrefixCommandPair extends AbstractDescribableImpl<PrefixCommandPair> {
    private String prefix;
    private String command;

    @DataBoundConstructor
    public PrefixCommandPair(String prefix, String command) {
        this.prefix = prefix;
        this.command = command;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    @Override
    public PrefixCommandPairDescriptor getDescriptor() {
        return (PrefixCommandPairDescriptor) super.getDescriptor();
    }

    @Extension
    public static class PrefixCommandPairDescriptor extends Descriptor<PrefixCommandPair> {
        @Override
        public String getDisplayName() {
            return "Prefix Command Pair";
        }
    }
}

@@ -340,24 +340,40 @@
 Pair%3E %7B%0A    
+@Getter @Setter 
 private Stri
@@ -387,23 +387,32 @@
 ix;%0A    
-private
+@Getter @Setter 
  String 
@@ -501,32 +501,32 @@
 ring command) %7B%0A
+
         this.pre
@@ -582,298 +582,8 @@
  %7D%0A%0A
-    public String getPrefix() %7B%0A        return prefix;%0A    %7D%0A%0A    public void setPrefix(String prefix) %7B%0A        this.prefix = prefix;%0A    %7D%0A%0A    public String getCommand() %7B%0A        return command;%0A    %7D%0A%0A    public void setCommand(String command) %7B%0A        this.command = command;%0A    %7D%0A%0A
     

use lombok in PrefixCommandPair