File D:\maven-qcr-plugin-testsunitaires\qcr4java\jenkins-master\target\site\qc\ui-samples-plugin\src\main\java\jenkins\plugins\ui_samples\ModularizeViewScript.java.html

1 package jenkins.plugins.ui_samples;
2
3 import hudson.Extension;
4
5 import java.util.Arrays;
6 import java.util.List;
7
8 /**
9 * Define portions of view fragments in separate methods/classes to improve reuse.
10 *
11 * @author Kohsuke Kawaguchi
12 */
13 @Extension
14 public class ModularizeViewScript extends UISample {
15 @Override
16 public String getDescription() {
17 return "Define portions of view fragments in separate methods/classes to improve reuse";
18 }
19
20 public List<SourceFile> getSourceFiles() {
21 // TODO: generate this from index
22 return Arrays.asList(new SourceFile("index.groovy"));
23 }
24
25 @Extension
26 public static final class DescriptorImpl extends UISampleDescriptor {
27 }
28 }
29