package com.atlassian.bitbucket.mesh.git.builder.checkrefformat;

import javax.annotation.Nonnull;

/**
 * Parent builder for the {@code git check-ref-format} git command builders.
 */
public interface GitCheckRefFormat {

    /**
     * Returns a builder for the standard version of {@code git check-ref-format} for validating any ref
     *
     * @param refName ref name to validate
     * @return a builder for standard {@code git check-ref-format} command to execute against {@code refName}.
     */
    @Nonnull
    GitCheckRefFormatBuilder ref(@Nonnull String refName);
}
