<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>IProperties — Buildbot 0.8.12 documentation</title> <link rel="stylesheet" href="../_static/agogo.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '0.8.12', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <link rel="shortcut icon" href="../_static/buildbot.ico"/> <link rel="top" title="Buildbot 0.8.12 documentation" href="../index.html" /> <link rel="up" title="Classes" href="classes.html" /> <link rel="next" title="Release Notes for Buildbot 0.8.12" href="../relnotes/index.html" /> <link rel="prev" title="IRenderable" href="cls-irenderable.html" /> </head> <body role="document"> <div class="header-wrapper" role="banner"> <div class="header"> <p class="logo"><a href="../index.html"> <img class="logo" src="../_static/header-text-transparent.png" alt="Logo"/> </a></p> <div class="headertitle"><a href="../index.html">Buildbot 0.8.12 documentation</a></div> <div class="rel" role="navigation" aria-label="related navigation"> <a href="cls-irenderable.html" title="IRenderable" accesskey="P">previous</a> | <a href="../relnotes/index.html" title="Release Notes for Buildbot 0.8.12" accesskey="N">next</a> | <a href="../py-modindex.html" title="Python Module Index" >modules</a> | <a href="../genindex.html" title="General Index" accesskey="I">index</a> </div> </div> </div> <div class="content-wrapper"> <div class="content"> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body" role="main"> <div class="section" id="iproperties"> <span id="index-0"></span><h1>IProperties<a class="headerlink" href="#iproperties" title="Permalink to this headline">¶</a></h1> <dl class="class"> <dt> <code class="descname">buildbot.interfaces.IProperties::</code></dt> <dd><p>Providers of this interface allow get and set access to a build's properties.</p> <dl class="method"> <dt id="getProperty"> <code class="descname">getProperty</code><span class="sig-paren">(</span><em>propname</em>, <em>default=None</em><span class="sig-paren">)</span><a class="headerlink" href="#getProperty" title="Permalink to this definition">¶</a></dt> <dd><p>Get a named property, returning the default value if the property is not found.</p> </dd></dl> <dl class="method"> <dt id="hasProperty"> <code class="descname">hasProperty</code><span class="sig-paren">(</span><em>propname</em><span class="sig-paren">)</span><a class="headerlink" href="#hasProperty" title="Permalink to this definition">¶</a></dt> <dd><p>Determine whether the named property exists.</p> </dd></dl> <dl class="method"> <dt id="setProperty"> <code class="descname">setProperty</code><span class="sig-paren">(</span><em>propname</em>, <em>value</em>, <em>source</em><span class="sig-paren">)</span><a class="headerlink" href="#setProperty" title="Permalink to this definition">¶</a></dt> <dd><p>Set a property's value, also specifying the source for this value.</p> </dd></dl> <dl class="method"> <dt id="getProperties"> <code class="descname">getProperties</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#getProperties" title="Permalink to this definition">¶</a></dt> <dd><p>Get a <code class="xref py py-class docutils literal"><span class="pre">buildbot.process.properties.Properties</span></code> instance. The interface of this class is not finalized; where possible, use the other <code class="docutils literal"><span class="pre">IProperties</span></code> methods.</p> </dd></dl> </dd></dl> </div> </div> </div> </div> </div> <div class="sidebar"> <h3>Table Of Contents</h3> <ul class="current"> <li class="toctree-l1"><a class="reference internal" href="../tutorial/index.html">Buildbot Tutorial</a></li> <li class="toctree-l1"><a class="reference internal" href="../manual/index.html">Buildbot Manual</a></li> <li class="toctree-l1 current"><a class="reference internal" href="index.html">Buildbot Development</a><ul class="current"> <li class="toctree-l2"><a class="reference internal" href="master-overview.html">Master Organization</a></li> <li class="toctree-l2"><a class="reference internal" href="definitions.html">Definitions</a></li> <li class="toctree-l2"><a class="reference internal" href="style.html">Buildbot Coding Style</a></li> <li class="toctree-l2"><a class="reference internal" href="tests.html">Buildbot's Test Suite</a></li> <li class="toctree-l2"><a class="reference internal" href="config.html">Configuration</a></li> <li class="toctree-l2"><a class="reference internal" href="utils.html">Utilities</a></li> <li class="toctree-l2"><a class="reference internal" href="database.html">Database</a></li> <li class="toctree-l2"><a class="reference internal" href="results.html">Build Result Codes</a></li> <li class="toctree-l2"><a class="reference internal" href="formats.html">File Formats</a></li> <li class="toctree-l2"><a class="reference internal" href="webstatus.html">Web Status</a></li> <li class="toctree-l2"><a class="reference internal" href="master-slave.html">Master-Slave API</a></li> <li class="toctree-l2"><a class="reference internal" href="encodings.html">String Encodings</a></li> <li class="toctree-l2"><a class="reference internal" href="metrics.html">Metrics</a></li> <li class="toctree-l2"><a class="reference internal" href="plugins-publish.html">How to package Buildbot plugins</a></li> <li class="toctree-l2 current"><a class="reference internal" href="classes.html">Classes</a><ul class="current"> <li class="toctree-l3"><a class="reference internal" href="cls-buildfactory.html">BuildFactory</a></li> <li class="toctree-l3"><a class="reference internal" href="cls-buildsetsummarynotifiermixin.html">BuildSetSummaryNotifierMixin</a></li> <li class="toctree-l3"><a class="reference internal" href="cls-remotecommands.html">RemoteCommands</a></li> <li class="toctree-l3"><a class="reference internal" href="cls-buildsteps.html">BuildSteps</a></li> <li class="toctree-l3"><a class="reference internal" href="cls-forcesched.html">ForceScheduler</a></li> <li class="toctree-l3"><a class="reference internal" href="cls-irenderable.html">IRenderable</a></li> <li class="toctree-l3 current"><a class="current reference internal" href="#">IProperties</a></li> </ul> </li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../relnotes/index.html">Release Notes for Buildbot 0.8.12</a></li> </ul> <div role="search"> <h3 style="margin-top: 1.5em;">Search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </div> </div> <div class="clearer"></div> </div> </div> <div class="footer-wrapper"> <div class="footer"> <div class="left"> <div role="navigation" aria-label="related navigaton"> <a href="cls-irenderable.html" title="IRenderable" >previous</a> | <a href="../relnotes/index.html" title="Release Notes for Buildbot 0.8.12" >next</a> | <a href="../py-modindex.html" title="Python Module Index" >modules</a> | <a href="../genindex.html" title="General Index" >index</a> </div> <div role="note" aria-label="source link"> <br/> <a href="../_sources/developer/cls-iproperties.txt" rel="nofollow">Show Source</a> </div> </div> <div class="right"> <div class="footer" role="contentinfo"> © Copyright Buildbot Team Members. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.1. </div> </div> <div class="clearer"></div> </div> </div> </body> </html>