未验证 提交 d041df95 编写于 作者: O Oleg Nenashev 提交者: GitHub

Merge pull request #3520 from jsoref/toplevel-description-help

improve docstring for TopLevelItemDescriptor.getDescription
......@@ -135,10 +135,11 @@ public abstract class TopLevelItemDescriptor extends Descriptor<TopLevelItem> im
}
/**
* A description of this kind of item type. This description can contain HTML code but it is recommend to use text plain
* in order to avoid how it should be represented.
* A description of this kind of item type. This description can contain HTML code but it is recommended that
* you use plain text in order to be consistent with the rest of Jenkins.
*
* This method should be called in a thread where Stapler is associated, but it will return an empty string.
* This method should be called from a thread where Stapler is handling an HTTP request, otherwise it will
* return an empty string.
*
* @return A string, by default the value from newInstanceDetail view is taken.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册