Class ConverterRequest
java.lang.Object
io.jenkins.plugins.todeclarative.converter.api.ConverterRequest
Contains data needed for converting a
Job
to a declarative pipeline-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateNewProject
(boolean createNewProject) int
getAndIncrement
(String key) convenient method to have a counter associated with a key.getJob()
boolean
void
setCreateNewProject
(boolean createNewProject) void
-
Constructor Details
-
ConverterRequest
public ConverterRequest()
-
-
Method Details
-
getJob
-
setJob
-
job
-
isCreateNewProject
public boolean isCreateNewProject() -
setCreateNewProject
public void setCreateNewProject(boolean createNewProject) -
createNewProject
-
getAndIncrement
convenient method to have a counter associated with a key.- Parameters:
key
- the counter key- Returns:
- retrieve the counter value and add 1
-