/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.terracotta.consensus.entity;

/**
 *
 * @author cdennis
 */
public abstract class LeaderOffer implements ElectionResponse {

  private final boolean clean;

  public LeaderOffer(boolean clean) {
    this.clean = clean;
  }

  public final boolean isPending() {
    return false;
  }

  public final boolean clean() {
    return clean;
  }
}

@@ -4,186 +4,666 @@
  * T
-o change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.
+he contents of this file are subject to the Terracotta Public License Version%0A * 2.0 (the %22License%22); You may not use this file except in compliance with the%0A * License. You may obtain a copy of the License at%0A *%0A * http://terracotta.org/legal/terracotta-public-license.%0A *%0A * Software distributed under the License is distributed on an %22AS IS%22 basis,%0A * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for%0A * the specific language governing rights and limitations under the License.%0A *%0A * The Covered Software is Connection API.%0A *%0A * The Initial Developer of the Covered Software is%0A * Terracotta, Inc., a Software AG company
 %0A */%0A
+%0A
 pack

Update header (LeaderOffer)