@Extension public class FileLoaderDSL extends GroovyFileGlobalVariable
| Modifier and Type | Class and Description |
|---|---|
static class |
FileLoaderDSL.MiscWhitelist |
| Constructor and Description |
|---|
FileLoaderDSL() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static String |
getSampleSnippet(String name)
Loads a snippet from the resource file.
|
getClassName, getValuepublic String getName()
getName in class org.jenkinsci.plugins.workflow.cps.GlobalVariable@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static String getSampleSnippet(String name) throws IOException
name - Name of the snippet (e.g. "loadMultipleFiles")IOException - Loading errorCopyright © 2016–2017. All rights reserved.