Class DiskPool
- java.lang.Object
-
- org.jenkinsci.plugins.ewm.definitions.DiskPool
-
- All Implemented Interfaces:
Describable<DiskPool>
public class DiskPool extends Object implements Describable<DiskPool>
Describable for defining a disk pool information in the Jenkins global config. Each disk pool should have at least oneDisk
entry.- Author:
- Alexandru Somai
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiskPool.DescriptorImpl
-
Field Summary
Fields Modifier and Type Field Description static DiskPool.DescriptorImpl
DESCRIPTOR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
DiskPool.DescriptorImpl
getDescriptor()
String
getDiskPoolId()
List<Disk>
getDisks()
String
getDisplayName()
com.synopsys.arc.jenkinsci.plugins.jobrestrictions.restrictions.JobRestriction
getRestriction()
DiskAllocationStrategy
getStrategy()
String
getWorkspaceTemplate()
-
-
-
Field Detail
-
DESCRIPTOR
@Extension public static final DiskPool.DescriptorImpl DESCRIPTOR
-
-
Method Detail
-
getDescriptor
public DiskPool.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<DiskPool>
-
getDiskPoolId
@CheckForNull public String getDiskPoolId()
-
getDisplayName
@CheckForNull public String getDisplayName()
-
getDescription
@CheckForNull public String getDescription()
-
getWorkspaceTemplate
@CheckForNull public String getWorkspaceTemplate()
-
getRestriction
@Nonnull public com.synopsys.arc.jenkinsci.plugins.jobrestrictions.restrictions.JobRestriction getRestriction()
-
getStrategy
@Nonnull public DiskAllocationStrategy getStrategy()
-
-