File D:\maven-qcr-plugin-testsunitaires\qcr4java\jenkins-master\target\site\qc\core\src\main\java\hudson\matrix\TextAxis.java.html

1 package hudson.matrix;
2
3 import hudson.Extension;
4 import org.kohsuke.stapler.DataBoundConstructor;
5
6 import java.util.List;
7
8 /**
9 * User-defined plain text axis.
10 *
11 * @author Kohsuke Kawaguchi
12 */
13 public class TextAxis extends Axis {
14 public TextAxis(String name, List<String> values) {
15 super(name, values);
16 }
17
18 public TextAxis(String name, String... values) {
19 super(name, values);
20 }
21
22 @DataBoundConstructor
23 public TextAxis(String name, String valueString) {
24 super(name, valueString);
25 }
26
27 @Extension
28 public static class DescriptorImpl extends AxisDescriptor {
29 @Override
30 public String getDisplayName() {
31 return Messages.TextArea_DisplayName();
32 }
33 }
34 }
35