提交 e4811a1d 编写于 作者: J Jesse Glick

Merge pull request #1859 from jglick/javadoc-newInstanceDetail

Javadoc correction w.r.t. newInstanceDetail
......@@ -53,7 +53,7 @@ public abstract class TopLevelItemDescriptor extends Descriptor<TopLevelItem> {
* This method allows the subtype of {@link TopLevelItemDescriptor}s to filter them out.
*
* <p>
* This is useful for a workflow/company specific job type that wants to eliminate
* This is useful for a workflow/company specific item type that wants to eliminate
* options that the user would see.
*
* @since 1.294
......@@ -103,16 +103,16 @@ public abstract class TopLevelItemDescriptor extends Descriptor<TopLevelItem> {
* {@inheritDoc}
*
* <p>
* Used as the caption when the user chooses what job type to create.
* The descriptor implementation also needs to have <tt>newJobDetail.jelly</tt>
* Used as the caption when the user chooses what item type to create.
* The descriptor implementation also needs to have <tt>newInstanceDetail.jelly</tt>
* script, which will be used to render the text below the caption
* that explains the job type.
* that explains the item type.
*/
public abstract String getDisplayName();
/**
* @deprecated since 2007-01-19.
* This is not a valid operation for {@link Job}s.
* This is not a valid operation for {@link Item}s.
*/
@Deprecated
public TopLevelItem newInstance(StaplerRequest req) throws FormException {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册