All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.chain.sequence.http.session.TestRefresher Maven / Gradle / Ivy

The newest version!
package com.chain.sequence.http.session;

import com.chain.sequence.exception.ChainException;

public class TestRefresher implements Refresher {
  private String teamName;
  private String dischargeMacaroon;

  public TestRefresher(String teamName, String dischargeMacaroon) {
    this.teamName = teamName;
    this.dischargeMacaroon = dischargeMacaroon;
  }

  public String teamName() {
    return this.teamName;
  }

  public String dischargeMacaroon() {
    return this.dischargeMacaroon;
  }

  public boolean needsRefresh() {
    return true;
  }

  public void refresh(String macaroon) throws ChainException {
    return;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy