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, updateFrom
createFinishingSteps, equals, getCustomOptionsStep, validateModuleName
cleanup, commit, createProject, isOpenProjectSettingsAfter, isSuitableSdk, isUpdate, validate
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContentEntryPath, setContentEntryPath
public 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()
SourcePathsBuilder
first=sourceRoot, second=packagePrefix
.getSourcePaths
in interface SourcePathsBuilder
public void setSourcePaths(java.util.List<Pair<java.lang.String,java.lang.String>> sourcePaths)
SourcePathsBuilder
first=sourceRoot, second=packagePrefix
.setSourcePaths
in interface SourcePathsBuilder
public void addSourcePath(Pair<java.lang.String,java.lang.String> sourcePathInfo)
SourcePathsBuilder
first=sourceRoot, second=packagePrefix
.addSourcePath
in interface SourcePathsBuilder
public ModuleType getModuleType()
getModuleType
in class ModuleBuilder
public boolean isSuitableSdkType(SdkTypeId sdkType)
isSuitableSdkType
in class ProjectBuilder
public ModuleWizardStep modifySettingsStep(SettingsStep settingsStep)
ModuleBuilder
modifySettingsStep
in class ModuleBuilder
settingsStep
- step to be modifiedModuleWizardStep.validate()
and ModuleWizardStep.updateDataModel()
will be invoked)public void setupRootModel(ModifiableRootModel rootModel) throws ConfigurationException
setupRootModel
in class ModuleBuilder
ConfigurationException
public java.util.List<Module> commit(Project project, ModifiableModuleModel model, ModulesProvider modulesProvider)
commit
in class ModuleBuilder
public void addModuleLibrary(java.lang.String moduleLibraryPath, java.lang.String sourcePath)
protected static java.lang.String getPathForOutputPathStep()
public int getWeight()
getWeight
in class ModuleBuilder