Class CustomBuildPropertiesAction
java.lang.Object
org.jenkinsci.plugins.custombuildproperties.CustomBuildPropertiesAction
- All Implemented Interfaces:
Action
,ModelObject
,RunAction2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsProperty
(String key) void
doGet
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, String key) void
doSet
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) void
doSetPost
(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Deprecated.getApi()
Exposes this object to the remote API.getProperty
(String key) void
onAttached
(Run<?, ?> run) void
setProperty
(String key, Object newValue) setPropertyIfAbsent
(String key, Object newValue)
-
Field Details
-
CBP_TABLE_PREFIX
- See Also:
-
CBP_SANITIZER_PREFIX
- See Also:
-
CBP_INTERNAL_SANITIZER
- See Also:
-
-
Constructor Details
-
CustomBuildPropertiesAction
public CustomBuildPropertiesAction()
-
-
Method Details
-
getProperties
-
containsProperty
-
getProperty
-
setProperty
-
setPropertyIfAbsent
-
getViewTables
-
onAttached
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
- Specified by:
onLoad
in interfaceRunAction2
-
getApi
Exposes this object to the remote API. -
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
doGet
public void doGet(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, @QueryParameter(required=true) String key) throws IOException, jakarta.servlet.ServletException - Throws:
IOException
jakarta.servlet.ServletException
-
doSet
public void doSet(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws Exception - Throws:
Exception
-
doSetPost
@Deprecated public void doSetPost(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws Exception Deprecated.UsedoSet(StaplerRequest2, StaplerResponse2)
instead.- Throws:
Exception
-
doSet(StaplerRequest2, StaplerResponse2)
instead.