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 TypeMethodDescriptionbooleancontainsProperty(String key) voiddoGet(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, String key) voiddoSet(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) voiddoSetPost(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Deprecated.getApi()Exposes this object to the remote API.getProperty(String key) voidonAttached(Run<?, ?> run) voidsetProperty(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:
onAttachedin interfaceRunAction2
-
onLoad
- Specified by:
onLoadin interfaceRunAction2
-
getApi
Exposes this object to the remote API. -
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein 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:
IOExceptionjakarta.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.