Package jetbrains.buildServer.vcs.spec
Interface BranchSpecs
-
- All Known Subinterfaces:
BranchSpecsEx
- All Known Implementing Classes:
BranchSpecsImpl
public interface BranchSpecsCreated 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 BranchSpeccreateDefault()BranchFiltercreateFilter(String filterSpec)BranchFiltercreateFilter(String filterSpec, boolean filterAttributes, BranchSpecParserSettings settings)BranchFiltercreateFilter(String filterSpec, BranchSpecParserSettings settings)BranchSpecparse(String spec)voidvalidate(String spec)voidvalidate(String spec, boolean extendedSyntax)voidvalidate(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
-
-