提交 b712617b 编写于 作者: H huybrechts

added the old constructor again for backward compatibility

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27489 71c3de6d-444a-0410-be80-ed276b4c234a
上级 2faee0bf
......@@ -65,6 +65,16 @@ public class RedeployPublisher extends Recorder {
public final boolean uniqueVersion;
public final boolean evenIfUnstable;
/**
* For backward compatibility
*/
public RedeployPublisher(String id, String url, boolean uniqueVersion) {
this(id, url, uniqueVersion, false);
}
/**
* @since 1.347
*/
@DataBoundConstructor
public RedeployPublisher(String id, String url, boolean uniqueVersion, boolean evenIfUnstable) {
this.id = id;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册