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

Merge pull request #3559 from amuniz/JENKINS-52718

[JENKINS-52718] InstallState API should not be Restricted
......@@ -1015,7 +1015,6 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
* @return The Jenkins {@link jenkins.install.InstallState install state}.
*/
@Nonnull
@Restricted(NoExternalUse.class)
public InstallState getInstallState() {
if (installState != null) {
installStateName = installState.name();
......@@ -1029,7 +1028,6 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
* Update the current install state. This will invoke state.initializeState()
* when the state has been transitioned.
*/
@Restricted(NoExternalUse.class)
public void setInstallState(@Nonnull InstallState newState) {
String prior = installStateName;
installStateName = newState.name();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册