Class CustomBuildPropertiesAction
- java.lang.Object
-
- org.jenkinsci.plugins.custombuildproperties.CustomBuildPropertiesAction
-
- All Implemented Interfaces:
Action
,ModelObject
,RunAction2
@ExportedBean public class CustomBuildPropertiesAction extends Object implements RunAction2
-
-
Field Summary
Fields Modifier and Type Field Description static String
CBP_INTERNAL_SANITIZER
static String
CBP_SANITIZER_PREFIX
static String
CBP_TABLE_PREFIX
-
Constructor Summary
Constructors Constructor Description CustomBuildPropertiesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsProperty(String key)
void
doGet(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, String key)
void
doSet(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
void
doSetPost(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
Deprecated.UsedoSet(StaplerRequest, StaplerResponse)
instead.Api
getApi()
Exposes this object to the remote API.String
getDisplayName()
String
getIconFileName()
Map<String,Object>
getProperties()
Object
getProperty(String key)
String
getUrlName()
List<CbpTable>
getViewTables()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
Object
setProperty(String key, Object newValue)
Object
setPropertyIfAbsent(String key, Object newValue)
-
-
-
Field Detail
-
CBP_TABLE_PREFIX
public static final String CBP_TABLE_PREFIX
- See Also:
- Constant Field Values
-
CBP_SANITIZER_PREFIX
public static final String CBP_SANITIZER_PREFIX
- See Also:
- Constant Field Values
-
CBP_INTERNAL_SANITIZER
public static final String CBP_INTERNAL_SANITIZER
- See Also:
- Constant Field Values
-
-
Method Detail
-
containsProperty
public boolean containsProperty(String key)
-
onAttached
public void onAttached(Run<?,?> run)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> run)
- Specified by:
onLoad
in interfaceRunAction2
-
getApi
public Api getApi()
Exposes this object to the remote API.
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
doGet
public void doGet(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter(required=true) String key) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
doSet
public void doSet(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws Exception
- Throws:
Exception
-
doSetPost
@Deprecated public void doSetPost(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws Exception
Deprecated.UsedoSet(StaplerRequest, StaplerResponse)
instead.- Throws:
Exception
-
-