boolean (@NotNull DeploymentStatus oldStatus, @NotNull DeploymentStatus newStatus, @Nullable @Nls String statusText, @Nullable DeploymentRuntime runtime) { if (myState.getStatus() == oldStatus) { myState = new DeploymentState(newStatus, statusText, runtime); return true; } return false; }