提交 194e39ca 编写于 作者: K kohsuke

documenting that toString() is used for UI rendering. I should probably have...

documenting that toString() is used for UI rendering. I should probably have getDisplayName() instead.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18854 71c3de6d-444a-0410-be80-ed276b4c234a
上级 509950e9
...@@ -967,6 +967,11 @@ public class Queue extends ResourceController implements Saveable { ...@@ -967,6 +967,11 @@ public class Queue extends ResourceController implements Saveable {
* Called by {@link Executor} to perform the task * Called by {@link Executor} to perform the task
*/ */
void run(); void run();
/**
* Used to render the HTML. Should be a human readable text of what this executable is.
*/
String toString();
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册