public class JavaModuleBuilder extends ModuleBuilder implements SourcePathsBuilder
ModuleBuilder.ModuleConfigurationUpdater| Modifier and Type | Field and Description |
|---|---|
static int |
BUILD_SYSTEM_WEIGHT |
static int |
JAVA_MOBILE_WEIGHT |
static int |
JAVA_WEIGHT |
EP_NAME, myJdk| Constructor and Description |
|---|
JavaModuleBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addModuleLibrary(java.lang.String moduleLibraryPath,
java.lang.String sourcePath) |
void |
addSourcePath(Pair<java.lang.String,java.lang.String> sourcePathInfo)
Pair:
first=sourceRoot, second=packagePrefix. |
java.util.List<Module> |
commit(Project project,
ModifiableModuleModel model,
ModulesProvider modulesProvider) |
ModuleType |
getModuleType() |
protected static java.lang.String |
getPathForOutputPathStep() |
java.util.List<Pair<java.lang.String,java.lang.String>> |
getSourcePaths()
Pair:
first=sourceRoot, second=packagePrefix. |
int |
getWeight() |
boolean |
isSuitableSdkType(SdkTypeId sdkType) |
ModuleWizardStep |
modifySettingsStep(SettingsStep settingsStep)
Typically delegates to ModuleType (e.g.
|
void |
setCompilerOutputPath(java.lang.String compilerOutputPath) |
void |
setSourcePaths(java.util.List<Pair<java.lang.String,java.lang.String>> sourcePaths)
Pair:
first=sourceRoot, second=packagePrefix. |
void |
setupRootModel(ModifiableRootModel rootModel) |
acceptParameter, addListener, addModuleConfigurationUpdater, canCreateModule, commitModule, createAndCommitIfNeeded, createModule, createWizardSteps, deleteModuleFile, doAddContentEntry, getAdditionalFields, getAllBuilders, getBuilderId, getContentEntryPath, getDefaultAcceptableRole, getDescription, getGroupName, getIgnoredSteps, getModuleFileDirectory, getModuleFilePath, getModuleJdk, getModuleTypeName, getName, getNodeIcon, getParentGroup, getPresentableName, getProjectType, isAvailable, isTemplate, isTemplateBased, modifyProjectTypeStep, modifyStep, removeListener, setContentEntryPath, setModuleFilePath, setModuleJdk, setName, setProjectType, setupModule, updateFromcreateFinishingSteps, equals, getCustomOptionsStep, validateModuleNamecleanup, commit, createProject, isOpenProjectSettingsAfter, isSuitableSdk, isUpdate, validateclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentEntryPath, setContentEntryPathpublic static final int JAVA_WEIGHT
public static final int BUILD_SYSTEM_WEIGHT
public static final int JAVA_MOBILE_WEIGHT
public final void setCompilerOutputPath(java.lang.String compilerOutputPath)
public java.util.List<Pair<java.lang.String,java.lang.String>> getSourcePaths()
SourcePathsBuilderfirst=sourceRoot, second=packagePrefix.getSourcePaths in interface SourcePathsBuilderpublic void setSourcePaths(java.util.List<Pair<java.lang.String,java.lang.String>> sourcePaths)
SourcePathsBuilderfirst=sourceRoot, second=packagePrefix.setSourcePaths in interface SourcePathsBuilderpublic void addSourcePath(Pair<java.lang.String,java.lang.String> sourcePathInfo)
SourcePathsBuilderfirst=sourceRoot, second=packagePrefix.addSourcePath in interface SourcePathsBuilderpublic ModuleType getModuleType()
getModuleType in class ModuleBuilderpublic boolean isSuitableSdkType(SdkTypeId sdkType)
isSuitableSdkType in class ProjectBuilderpublic ModuleWizardStep modifySettingsStep(SettingsStep settingsStep)
ModuleBuildermodifySettingsStep in class ModuleBuildersettingsStep - step to be modifiedModuleWizardStep.validate()
and ModuleWizardStep.updateDataModel()
will be invoked)public void setupRootModel(ModifiableRootModel rootModel) throws ConfigurationException
setupRootModel in class ModuleBuilderConfigurationExceptionpublic java.util.List<Module> commit(Project project, ModifiableModuleModel model, ModulesProvider modulesProvider)
commit in class ModuleBuilderpublic void addModuleLibrary(java.lang.String moduleLibraryPath,
java.lang.String sourcePath)
protected static java.lang.String getPathForOutputPathStep()
public int getWeight()
getWeight in class ModuleBuilder