Class PlaceIdEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- jetbrains.buildServer.web.openapi.PlaceIdEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class PlaceIdEditor extends java.beans.PropertyEditorSupport
Main purpose of this class is to expose PlaceId constants to spring. This allows defining Spring beans like this:<bean class="some class" init-method="register"> <property name="tabTitle" value="Some title"/> <property name="placeId" value="MY_TOOLS_TABS"/> </bean>
-
-
Constructor Summary
Constructors Constructor Description PlaceIdEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAsText()
void
setAsText(java.lang.String text)
-
-
-
Method Detail
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsText
in interfacejava.beans.PropertyEditor
- Overrides:
getAsText
in classjava.beans.PropertyEditorSupport
-
setAsText
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
- Specified by:
setAsText
in interfacejava.beans.PropertyEditor
- Overrides:
setAsText
in classjava.beans.PropertyEditorSupport
- Throws:
java.lang.IllegalArgumentException
-
-