Class SolutionDescriptor
- java.lang.Object
 - 
- jetbrains.mps.project.structure.modules.ModuleDescriptor
 - 
- jetbrains.mps.project.structure.modules.SolutionDescriptor
 
 
 
- 
- All Implemented Interfaces:
 Copyable<ModuleDescriptor>,CopyableDescriptor<ModuleDescriptor>
public class SolutionDescriptor extends ModuleDescriptor
 
- 
- 
Constructor Summary
Constructors Constructor Description SolutionDescriptor() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SolutionDescriptorcopy()booleangetCompileInMPS()protected intgetHeaderMarker()SolutionKindgetKind()StringgetOutputPath()voidload(ModelInputStream stream)booleanneedsExternalIdeaCompile()This is MPS internal flag intended for developers that run MPS from sources.voidsave(ModelOutputStream stream)voidsetCompileInMPS(boolean compileInMPS)voidsetKind(SolutionKind kind)voidsetNeedsExternalIdeaCompile(boolean value)voidsetOutputPath(String outputPath)- 
Methods inherited from class jetbrains.mps.project.structure.modules.ModuleDescriptor
addFacetDescriptor, copy0, getAdditionalJavaStubPaths, getDependencies, getDependencyVersions, getDeploymentDescriptor, getId, getLanguageVersions, getLoadException, getModelRootDescriptors, getModuleFacetDescriptors, getModuleReference, getModuleVersion, getNamespace, getSourcePaths, getTimestamp, getUsedDevkits, getUsedLanguages, hasDependencyVersions, hasLanguageVersions, isUseTransientOutput, removeFacetDescriptor, setDeploymentDescriptor, setHasDependencyVersions, setHasLanguageVersions, setId, setLoadException, setModuleVersion, setNamespace, setTimestamp, setUseTransientOutput, updateFacetDescriptor, updateModelRefs, updateModuleRefs 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getOutputPath
public final String getOutputPath()
 
- 
setOutputPath
public final void setOutputPath(String outputPath)
 
- 
getKind
public final SolutionKind getKind()
 
- 
setKind
public final void setKind(@NotNull SolutionKind kind)
 
- 
getCompileInMPS
public final boolean getCompileInMPS()
- Overrides:
 getCompileInMPSin classModuleDescriptor
 
- 
needsExternalIdeaCompile
public boolean needsExternalIdeaCompile()
Description copied from class:ModuleDescriptorThis is MPS internal flag intended for developers that run MPS from sources. Unlike compileInMPS, it is NOT exposed in JavaModuleFacet intentionally; it's our internal setting, after all UseSModuleOperations.isCompileInIdea(SModule)to find out if module demands external IDEA compilation.- Overrides:
 needsExternalIdeaCompilein classModuleDescriptor- Returns:
 - true if a module with compileInMPS == false shall get compiled with a help of an IDEA instance by means of idea integration plugin
 
 
- 
setNeedsExternalIdeaCompile
public void setNeedsExternalIdeaCompile(boolean value)
- Overrides:
 setNeedsExternalIdeaCompilein classModuleDescriptor
 
- 
setCompileInMPS
public final void setCompileInMPS(boolean compileInMPS)
 
- 
getHeaderMarker
protected int getHeaderMarker()
- Overrides:
 getHeaderMarkerin classModuleDescriptor
 
- 
save
public void save(ModelOutputStream stream) throws IOException
- Overrides:
 savein classModuleDescriptor- Throws:
 IOException
 
- 
load
public void load(ModelInputStream stream) throws IOException
- Overrides:
 loadin classModuleDescriptor- Throws:
 IOException
 
- 
copy
@NotNull public SolutionDescriptor copy()
- Specified by:
 copyin interfaceCopyable<ModuleDescriptor>- Overrides:
 copyin classModuleDescriptor- Returns:
 - full deep-copy of the T instance
 
 
 - 
 
 -