Package jetbrains.buildServer.vcs.spec
Interface BranchSpecs
-
- All Known Subinterfaces:
BranchSpecsEx
- All Known Implementing Classes:
BranchSpecsImpl
public interface BranchSpecs
Created 19.08.13 16:20- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BranchSpec
createDefault()
BranchFilter
createFilter(String filterSpec)
BranchFilter
createFilter(String filterSpec, boolean filterAttributes, BranchSpecParserSettings settings)
BranchFilter
createFilter(String filterSpec, BranchSpecParserSettings settings)
BranchSpec
parse(String spec)
void
validate(String spec)
void
validate(String spec, boolean extendedSyntax)
void
validate(String spec, boolean extendedSyntax, boolean attributesFilterAllowed)
-
-
-
Method Detail
-
createFilter
@NotNull BranchFilter createFilter(@NotNull String filterSpec) throws InvalidBranchSpecException
- Throws:
InvalidBranchSpecException
-
createFilter
@NotNull BranchFilter createFilter(@NotNull String filterSpec, @NotNull BranchSpecParserSettings settings) throws InvalidBranchSpecException
- Throws:
InvalidBranchSpecException
-
createFilter
BranchFilter createFilter(@NotNull String filterSpec, boolean filterAttributes, @Nullable BranchSpecParserSettings settings) throws InvalidBranchSpecException
- Parameters:
filterAttributes
- true if attributes filters are allowed for this branch filter- Throws:
InvalidBranchSpecException
- Since:
- 2024.3
-
createDefault
@NotNull BranchSpec createDefault()
-
parse
@NotNull BranchSpec parse(@Nullable String spec) throws InvalidBranchSpecException
- Throws:
InvalidBranchSpecException
-
validate
void validate(@Nullable String spec) throws InvalidBranchSpecException
- Throws:
InvalidBranchSpecException
-
validate
void validate(@Nullable String spec, boolean extendedSyntax) throws InvalidBranchSpecException
- Parameters:
spec
- branch specification to validateextendedSyntax
- if true spec allows usage of brackets, if false, only simple spec is allowed- Throws:
InvalidBranchSpecException
-
validate
void validate(@Nullable String spec, boolean extendedSyntax, boolean attributesFilterAllowed) throws InvalidBranchSpecException
- Parameters:
attributesFilterAllowed
- indicates if attributes branch filter syntax is allowed in the branch filter- Throws:
InvalidBranchSpecException
- Since:
- 2024.3
-
-