// Copyright (C) 2014 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package com.google.gerrit.extensions.webui;

/** Marks that the implementor has a method that provides a weblinkInfo */
public interface WebLink {
  /** Class that holds target defaults for WebLink anchors. */
  class Target {
    /** Opens the link in a new window or tab */
    public static final String BLANK = "_blank";
    /** Opens the link in the frame it was clicked. */
    public static final String SELF = "_self";
    /** Opens link in parent frame. */
    public static final String PARENT = "_parent";
    /** Opens link in the full body of the window. */
    public static final String TOP = "_top";
  }
}
