View Javadoc

1   package com.atlassian.plugin.osgi.hostcomponents;
2   
3   /**
4    * Ties properties to the host component registration
5    */
6   public interface PropertyBuilder
7   {
8       /**
9        * Sets the bean name of the host component
10       * @param name The name
11       * @return The property builder
12       */
13      PropertyBuilder withName(String name);
14  
15      /**
16       * Sets an arbitrary property to register with the host component
17       * @param name The property name
18       * @param value The property value
19       * @return The property builder
20       */
21      PropertyBuilder withProperty(String name, String value);
22  }