public class ModuleData extends AbstractNamedData implements Named, ExternalConfigPathAware, Identifiable
Modifier | Constructor and Description |
---|---|
|
ModuleData(java.lang.String id,
ProjectSystemId owner,
java.lang.String moduleTypeId,
java.lang.String externalName,
java.lang.String moduleFileDirectoryPath,
java.lang.String externalConfigPath) |
protected |
ModuleData(java.lang.String id,
ProjectSystemId owner,
java.lang.String typeId,
java.lang.String externalName,
java.lang.String internalName,
java.lang.String moduleFileDirectoryPath,
java.lang.String externalConfigPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<java.io.File> |
getArtifacts() |
java.lang.String |
getCompileOutputPath(ExternalSystemSourceType type)
Allows to get file system path of the compile output of the source of the target type.
|
java.lang.String |
getDescription() |
java.lang.String |
getGroup() |
java.lang.String |
getId() |
java.lang.String |
getIdeGrouping() |
java.lang.String [] |
getIdeModuleGroup() |
java.lang.String |
getIdeParentGrouping() |
java.lang.String |
getLinkedExternalProjectPath() |
java.lang.String |
getModuleFileDirectoryPath() |
java.lang.String |
getModuleName() |
java.lang.String |
getModuleTypeId() |
java.lang.String |
getProductionModuleId() |
java.lang.String |
getProperty(java.lang.String key) |
ProjectCoordinate |
getPublication() |
java.lang.String |
getSdkName()
Deprecated.
use
ModuleSdkData#getSdkName) instead |
java.lang.String |
getSourceCompatibility()
Deprecated.
use
JavaModuleData#getLanguageLevel()) instead |
java.lang.String |
getTargetCompatibility()
Deprecated.
use
JavaModuleData#getTargetBytecodeVersion()) instead |
java.lang.String |
getVersion() |
int |
hashCode() |
void |
internalSetSdkName(java.lang.String sdkName)
Deprecated.
|
void |
internalSetSourceCompatibility(java.lang.String sourceCompatibility)
Deprecated.
|
void |
internalSetTargetCompatibility(java.lang.String targetCompatibility)
Deprecated.
|
boolean |
isInheritProjectCompileOutputPath() |
boolean |
isSetSdkName()
Deprecated.
|
boolean |
isSetSourceCompatibility()
Deprecated.
|
boolean |
isSetTargetCompatibility()
Deprecated.
|
void |
setArtifacts(java.util.List<java.io.File> artifacts) |
void |
setCompileOutputPath(ExternalSystemSourceType type,
java.lang.String path) |
void |
setDescription(java.lang.String description) |
void |
setExternalCompilerOutputPath(ExternalSystemSourceType type,
java.lang.String path) |
void |
setGroup(java.lang.String group) |
void |
setIdeModuleGroup(java.lang.String [] ideModuleGroup) |
void |
setInheritProjectCompileOutputPath(boolean inheritProjectCompileOutputPath) |
void |
setModuleName(java.lang.String moduleName) |
void |
setProductionModuleId(java.lang.String productionModuleId) |
void |
setProperty(java.lang.String key,
java.lang.String value) |
void |
setPublication(ProjectCoordinate publication) |
void |
setSdkName(java.lang.String sdkName)
Deprecated.
use
ModuleSdkData#setSdkName instead |
void |
setSourceCompatibility(java.lang.String sourceCompatibility)
Deprecated.
use
JavaModuleData#setLanguageLevel(LanguageLevel)) instead |
void |
setTargetCompatibility(java.lang.String targetCompatibility)
Deprecated.
use
JavaModuleData#setTargetBytecodeVersion(String)) instead |
void |
setVersion(java.lang.String version) |
java.lang.String |
toString() |
void |
useExternalCompilerOutput(boolean useExternalCompilerOutput) |
getExternalName, getInternalName, getName, setExternalName, setInternalName, setName
getOwner
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExternalName, getInternalName, getName, setExternalName, setInternalName, setName
public ModuleData(java.lang.String id, ProjectSystemId owner, java.lang.String moduleTypeId, java.lang.String externalName, java.lang.String moduleFileDirectoryPath, java.lang.String externalConfigPath)
protected ModuleData(java.lang.String id, ProjectSystemId owner, java.lang.String typeId, java.lang.String externalName, java.lang.String internalName, java.lang.String moduleFileDirectoryPath, java.lang.String externalConfigPath)
public java.lang.String getId()
getId
in interface Identifiable
public java.lang.String getModuleTypeId()
public java.lang.String getLinkedExternalProjectPath()
getLinkedExternalProjectPath
in interface ExternalConfigPathAware
public java.lang.String getModuleFileDirectoryPath()
public java.lang.String getProductionModuleId()
TestModuleProperties
public void setProductionModuleId(java.lang.String productionModuleId)
public boolean isInheritProjectCompileOutputPath()
public void setInheritProjectCompileOutputPath(boolean inheritProjectCompileOutputPath)
public java.lang.String getCompileOutputPath(ExternalSystemSourceType type)
type
- target source typeproject compile output path
should be used if current module
doesn't provide specific compile output pathpublic void setCompileOutputPath(ExternalSystemSourceType type, java.lang.String path)
public void setExternalCompilerOutputPath(ExternalSystemSourceType type, java.lang.String path)
public void useExternalCompilerOutput(boolean useExternalCompilerOutput)
public java.lang.String getGroup()
public void setGroup(java.lang.String group)
public ProjectCoordinate getPublication()
public void setPublication(ProjectCoordinate publication)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.util.List<java.io.File> getArtifacts()
public void setArtifacts(java.util.List<java.io.File> artifacts)
public java.lang.String [] getIdeModuleGroup()
public void setIdeModuleGroup(java.lang.String [] ideModuleGroup)
@Deprecated public java.lang.String getSourceCompatibility()
JavaModuleData#getLanguageLevel())
instead@Deprecated public void setSourceCompatibility(java.lang.String sourceCompatibility)
JavaModuleData#setLanguageLevel(LanguageLevel))
instead@Deprecated public java.lang.String getTargetCompatibility()
JavaModuleData#getTargetBytecodeVersion())
instead@Deprecated public void setTargetCompatibility(java.lang.String targetCompatibility)
JavaModuleData#setTargetBytecodeVersion(String))
instead@Deprecated public java.lang.String getSdkName()
ModuleSdkData#getSdkName)
instead@Deprecated public void setSdkName(java.lang.String sdkName)
ModuleSdkData#setSdkName
instead@Deprecated public void internalSetSourceCompatibility(java.lang.String sourceCompatibility)
@Deprecated public void internalSetTargetCompatibility(java.lang.String targetCompatibility)
@Deprecated public void internalSetSdkName(java.lang.String sdkName)
@Deprecated public boolean isSetSourceCompatibility()
@Deprecated public boolean isSetTargetCompatibility()
@Deprecated public boolean isSetSdkName()
public java.lang.String getProperty(java.lang.String key)
public void setProperty(java.lang.String key, java.lang.String value)
public java.lang.String getModuleName()
public void setModuleName(java.lang.String moduleName)
public java.lang.String getIdeGrouping()
public java.lang.String getIdeParentGrouping()
public boolean equals(java.lang.Object o)
equals
in class AbstractNamedData
public int hashCode()
hashCode
in class AbstractNamedData
public java.lang.String toString()
toString
in class java.lang.Object