Interface RootProject.CommandBuilder
- All Known Implementing Classes:
AbstractProject.CommandBuilder
- Enclosing interface:
RootProject
public static interface RootProject.CommandBuilder
A builder for command aliases.
-
Method Summary
Modifier and TypeMethodDescriptionApply the request(s) to the projects selected by the given pattern instead of the root project.resources(ResourceRequest<?>... requests) Apply the request(s) to the root project or the selected projects.
-
Method Details
-
projects
Apply the request(s) to the projects selected by the given pattern instead of the root project.- Parameters:
pattern- the pattern- Returns:
- the command builder
-
resources
Apply the request(s) to the root project or the selected projects. The results from the request are written to the standard output.
To simplify the command alias definition, this method replaces a request with no intents (i.e. with
ResourceRequest.uses()being empty) with a request that uses all intents.- Parameters:
requests- the requests- Returns:
- the root project
-