public class ImportSpecBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ImportSpecBuilder.DefaultProjectRefreshCallback |
Constructor and Description |
---|
ImportSpecBuilder(ImportSpec importSpec) |
ImportSpecBuilder(Project project,
ProjectSystemId id) |
Modifier and Type | Method and Description |
---|---|
ImportSpec |
build() |
ImportSpecBuilder |
callback(ExternalProjectRefreshCallback callback) |
ImportSpecBuilder |
createDirectoriesForEmptyContentRoots() |
ImportSpecBuilder |
dontReportRefreshErrors() |
ImportSpecBuilder |
forceWhenUptodate() |
ImportSpecBuilder |
forceWhenUptodate(boolean force) |
ImportSpecBuilder |
projectResolverPolicy(ProjectResolverPolicy projectResolverPolicy) |
ImportSpecBuilder |
use(ProgressExecutionMode executionMode) |
ImportSpecBuilder |
useDefaultCallback()
Deprecated.
no need to call the method, default callback is used by default
|
ImportSpecBuilder |
usePreviewMode() |
ImportSpecBuilder |
whenAutoImportEnabled()
Deprecated.
see
ExternalProjectSettings.setUseAutoImport(boolean) for details |
ImportSpecBuilder |
withArguments(java.lang.String arguments) |
ImportSpecBuilder |
withVmOptions(java.lang.String vmOptions) |
public ImportSpecBuilder(Project project, ProjectSystemId id)
public ImportSpecBuilder(ImportSpec importSpec)
@Deprecated public ImportSpecBuilder whenAutoImportEnabled()
ExternalProjectSettings.setUseAutoImport(boolean)
for detailspublic ImportSpecBuilder use(ProgressExecutionMode executionMode)
public ImportSpecBuilder forceWhenUptodate()
public ImportSpecBuilder forceWhenUptodate(boolean force)
public ImportSpecBuilder callback(ExternalProjectRefreshCallback callback)
public ImportSpecBuilder usePreviewMode()
public ImportSpecBuilder createDirectoriesForEmptyContentRoots()
public ImportSpecBuilder dontReportRefreshErrors()
public ImportSpecBuilder withVmOptions(java.lang.String vmOptions)
public ImportSpecBuilder withArguments(java.lang.String arguments)
public ImportSpecBuilder projectResolverPolicy(ProjectResolverPolicy projectResolverPolicy)
@Deprecated public ImportSpecBuilder useDefaultCallback()
public ImportSpec build()