use of com.google.copybara.hg.HgOriginOptions in project copybara by google.
the class ModuleSupplier method newOptions.
/**
* Returns a new list of {@link Option}s.
*/
protected Options newOptions() {
GeneralOptions generalOptions = new GeneralOptions(environment, fileSystem, console);
GitOptions gitOptions = new GitOptions(generalOptions);
GitDestinationOptions gitDestinationOptions = new GitDestinationOptions(generalOptions, gitOptions);
BuildifierOptions buildifierOptions = new BuildifierOptions();
WorkflowOptions workflowOptions = new WorkflowOptions();
return new Options(ImmutableList.of(generalOptions, buildifierOptions, new BuildozerOptions(generalOptions, buildifierOptions, workflowOptions), new FolderDestinationOptions(), new FolderOriginOptions(), gitOptions, new GitOriginOptions(), new GitHubPrOriginOptions(), gitDestinationOptions, new GitHubOptions(generalOptions, gitOptions), new GitHubDestinationOptions(), new GerritOptions(generalOptions, gitOptions), new GitMirrorOptions(), new HgOptions(generalOptions), new HgOriginOptions(), new PatchingOptions(generalOptions), workflowOptions, new RemoteFileOptions(), new DebugOptions(generalOptions)));
}
Aggregations