public interface

RefRestriction

com.atlassian.stash.repository.ref.restriction.RefRestriction

Class Overview

A restriction on a com.atlassian.stash.repository.Ref or a group of refs.

Summary

Public Methods
int getId()
@Nonnull RefMatcher getMatcher()
int getRepositoryId()
@Nonnull RefRestrictionType getType()

Public Methods

public int getId ()

Returns
  • the restriction's ID

@Nonnull public RefMatcher getMatcher ()

Returns
  • the matcher that will apply to the restriction

public int getRepositoryId ()

Returns

@Nonnull public RefRestrictionType getType ()

Returns
  • the restriction's type