Class ModelConverterAction
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.endpoints.ModelConverterAction
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,RootAction
Endpoint for converting to/from JSON/Groovy and validating both.
- Author:
- Andrew Bayer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponse
doStepsToJenkinsfile
(org.kohsuke.stapler.StaplerRequest req) org.kohsuke.stapler.HttpResponse
doStepsToJson
(org.kohsuke.stapler.StaplerRequest req) org.kohsuke.stapler.HttpResponse
doToJenkinsfile
(org.kohsuke.stapler.StaplerRequest req) org.kohsuke.stapler.HttpResponse
doToJson
(org.kohsuke.stapler.StaplerRequest req) org.kohsuke.stapler.HttpResponse
doValidate
(org.kohsuke.stapler.StaplerRequest req) org.kohsuke.stapler.HttpResponse
doValidateJenkinsfile
(org.kohsuke.stapler.StaplerRequest req) org.kohsuke.stapler.HttpResponse
doValidateJson
(org.kohsuke.stapler.StaplerRequest req)
-
Field Details
-
PIPELINE_CONVERTER_URL
- See Also:
-
-
Constructor Details
-
ModelConverterAction
public ModelConverterAction()
-
-
Method Details
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
doToJenkinsfile
public org.kohsuke.stapler.HttpResponse doToJenkinsfile(org.kohsuke.stapler.StaplerRequest req) -
doToJson
public org.kohsuke.stapler.HttpResponse doToJson(org.kohsuke.stapler.StaplerRequest req) -
doStepsToJson
public org.kohsuke.stapler.HttpResponse doStepsToJson(org.kohsuke.stapler.StaplerRequest req) -
doStepsToJenkinsfile
public org.kohsuke.stapler.HttpResponse doStepsToJenkinsfile(org.kohsuke.stapler.StaplerRequest req) -
doValidateJenkinsfile
public org.kohsuke.stapler.HttpResponse doValidateJenkinsfile(org.kohsuke.stapler.StaplerRequest req) -
doValidateJson
public org.kohsuke.stapler.HttpResponse doValidateJson(org.kohsuke.stapler.StaplerRequest req) -
doValidate
public org.kohsuke.stapler.HttpResponse doValidate(org.kohsuke.stapler.StaplerRequest req) -
errorToStrings
-