Class Template
- java.lang.Object
-
- org.jenkinsci.plugins.ewm.definitions.Template
-
- All Implemented Interfaces:
Describable<Template>
public class Template extends Object implements Describable<Template>
Describable used in the Jenkins global config. Based on a template, the user may define similarNodeDiskPool
properties to be used for multipleNode
s that have a commonlabel
.- Author:
- Alexandru Somai
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Template.DescriptorImpl
-
Field Summary
Fields Modifier and Type Field Description static Template.DescriptorImpl
DESCRIPTOR
-
Constructor Summary
Constructors Constructor Description Template(String label, List<NodeDiskPool> nodeDiskPools)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Template.DescriptorImpl
getDescriptor()
String
getLabel()
List<NodeDiskPool>
getNodeDiskPools()
-
-
-
Field Detail
-
DESCRIPTOR
@Extension public static final Template.DescriptorImpl DESCRIPTOR
-
-
Constructor Detail
-
Template
@DataBoundConstructor public Template(String label, List<NodeDiskPool> nodeDiskPools)
-
-
Method Detail
-
getLabel
@CheckForNull public String getLabel()
-
getNodeDiskPools
@Nonnull public List<NodeDiskPool> getNodeDiskPools()
-
getDescriptor
public Template.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Template>
-
-