Package com.gitblit.Constants

Examples of com.gitblit.Constants.FederationToken


   * @param token
   * @return a potential proposal
   */
  @Override
  public FederationProposal createFederationProposal(String gitblitUrl, String token) {
    FederationToken tokenType = FederationToken.REPOSITORIES;
    for (FederationToken type : FederationToken.values()) {
      if (token.equals(getFederationToken(type))) {
        tokenType = type;
        break;
      }
View Full Code Here


      }

      @Override
      public void populateItem(final Item<String[]> item) {
        final String[] entry = item.getModelObject();
        final FederationToken token = FederationToken.fromName(entry[0]);
        if (entry[2] == null) {
          // standard federation token
          item.add(new Label("description", describeToken(token)));
        } else {
          // federation set token
View Full Code Here

TOP

Related Classes of com.gitblit.Constants.FederationToken

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.