public interface GradleInterfaceVersion2 extends GradleInterfaceVersion1
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestObserver(RequestObserverVersion1 observer)
Adds an observer that is notified when Gradle commands are executed and completed.
|
RequestVersion1 |
executeCommand2(String commandLineArguments,
String displayName)
Call this to execute the given gradle command.
|
RequestVersion1 |
executeFavorites(List<FavoriteTaskVersion1> favorites)
Executes several favorites commands at once as a single command.
|
String |
getVersion() |
RequestVersion1 |
refreshTaskTree2()
This refreshes the projects and task list.
|
RequestVersion1 |
refreshTaskTree2(String additionalCommandLineArguments)
This refreshes the task tree.
|
void |
removeRequestObserver(RequestObserverVersion1 observer)
Removes a request observer when you no longer wish to receive notifications about Gradle command being executed.
|
void |
setCustomGradleExecutable(File customGradleExecutor)
Sets a custom gradle executable.
|
addCommandLineArgumentAlteringListener, executeCommand, getCurrentDirectory, getCustomGradleExecutable, getGradleHomeDirectory, getRootProjects, isBusy, refreshTaskTree, removeCommandLineArgumentAlteringListener, setCurrentDirectoryString getVersion()
RequestVersion1 refreshTaskTree2()
RequestVersion1 refreshTaskTree2(String additionalCommandLineArguments)
additionalCommandLineArguments - additional command line arguments to be passed to gradle when refreshing the task tree.RequestVersion1 executeCommand2(String commandLineArguments, String displayName)
commandLineArguments - the command line arguments to pass to gradle.displayName - the name displayed in the UI for this commandRequestVersion1 executeFavorites(List<FavoriteTaskVersion1> favorites)
favorites - a list of favorites. If just one favorite, it executes it normally. If multiple favorites, it executes them all at once as a single command. This blindly concatenates them so
it may wind up with duplicate tasks on the command line.void setCustomGradleExecutable(File customGradleExecutor)
customGradleExecutor - the path to an executable (or script/batch file)void addRequestObserver(RequestObserverVersion1 observer)
observer - the observer that is notifiedvoid removeRequestObserver(RequestObserverVersion1 observer)
observer - the observer to removeCopyright © 2013. All rights reserved