Class LibraryModel
java.lang.Object
io.jenkins.plugins.pipeline.models.AbstractModel
io.jenkins.plugins.pipeline.models.LibraryModel
- All Implemented Interfaces:
ParsableModelInterface
Model Class for Shared Library Definitions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLibraryModel
(String libraryDefinition) LibraryModel
(List<String> libraryList) -
Method Summary
Methods inherited from class io.jenkins.plugins.pipeline.models.AbstractModel
optionalBooleanToGroovy, optionalStringToGroovy
-
Field Details
-
directive
- See Also:
-
-
Constructor Details
-
LibraryModel
- Parameters:
libraryList
- List of library definitions
-
LibraryModel
- Parameters:
libraryDefinition
- Library definition
-
-
Method Details
-
toGroovy
Description copied from interface:ParsableModelInterface
Convert model to Jenkins Declarative Pipeline Syntax- Specified by:
toGroovy
in interfaceParsableModelInterface
- Returns:
- Jenkins Declarative Pipeline Syntax
-