package com.atlassian.bitbucket.internal.defaultreviewers.matcher;

import com.atlassian.bitbucket.repository.ref.restriction.RefMatcherType;

import javax.annotation.Nonnull;

public class AnyRefMatcherType implements RefMatcherType {

    private static AnyRefMatcherType INSTANCE = new AnyRefMatcherType();
    private static String ANY_REF = "ANY_REF";
    private static String ANY_REF_DISPLAY = "Any branch";

    public static AnyRefMatcherType getInstance() {
        return INSTANCE;
    }

    @Override
    public String getId() {
        return ANY_REF;
    }

    @Nonnull
    @Override
    public String getDisplayId() {
        return ANY_REF_DISPLAY;
    }
}
