View Javadoc

1   /*
2    *  LICENSE
3    *
4    * "THE BEER-WARE LICENSE" (Revision 43):
5    * "Sven Strittmatter" <weltraumschaf@googlemail.com> wrote this file.
6    * As long as you retain this notice you can do whatever you want with
7    * this stuff. If we meet some day, and you think this stuff is worth it,
8    * you can buy me a non alcohol-free beer in return.
9    *
10   * Copyright (C) 2012 "Sven Strittmatter" <weltraumschaf@googlemail.com>
11   */
12  
13  package org.jenkinsci.plugins.darcs.cmd;
14  
15  /**
16   * Builders implementing this interface can produce a {@link DarcsCommand}.
17   *
18   * @author Sven Strittmatter <weltraumschaf@googlemail.com>
19   */
20  public interface DarcsCommandCreator {
21  
22      /**
23       * Create the parameterized command object.
24       *
25       * @return creates always new instance
26       */
27      DarcsCommand create();
28  
29  }