public class SourceFolderImpl extends ContentFolderBaseImpl implements SourceFolder
Disposable.Parent| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | ELEMENT_NAME | 
| static java.lang.String | TEST_SOURCE_ATTR | 
myContentEntry, URL_ATTRIBUTE| Constructor and Description | 
|---|
| SourceFolderImpl(JpsModuleSourceRoot jpsElement,
                ContentEntryImpl contentEntry) | 
| Modifier and Type | Method and Description | 
|---|---|
| ContentFolder | cloneFolder(ContentEntry contentEntry) | 
| int | compareTo(ContentFolderBaseImpl folder) | 
| void | dispose()Usually not invoked directly, see class javadoc. | 
| JpsModuleSourceRoot | getJpsElement() | 
| java.lang.String | getPackagePrefix()Returns the package prefix for this source root. | 
| RootModelImpl | getRootModel() | 
| JpsModuleSourceRootType<?> | getRootType() | 
| boolean | isDisposed() | 
| boolean | isTestSource()Checks if this root is a production or test source root. | 
| void | setPackagePrefix(java.lang.String packagePrefix)Sets the package prefix for this source root. | 
equals, getContentEntry, getFile, getUrl, hashCode, isSynthetic, toString, writeFolderclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContentEntry, getFile, getUrlisSyntheticpublic static final java.lang.String ELEMENT_NAME
public static final java.lang.String TEST_SOURCE_ATTR
public SourceFolderImpl(JpsModuleSourceRoot jpsElement, ContentEntryImpl contentEntry)
public boolean isTestSource()
SourceFolderisTestSource in interface SourceFolderpublic java.lang.String getPackagePrefix()
SourceFoldergetPackagePrefix in interface SourceFolderpublic void setPackagePrefix(java.lang.String packagePrefix)
SourceFoldersetPackagePrefix in interface SourceFolderpackagePrefix - the package prefix, or an empty string if the root has no package prefix.public JpsModuleSourceRootType<?> getRootType()
getRootType in interface SourceFolderpublic ContentFolder cloneFolder(ContentEntry contentEntry)
public JpsModuleSourceRoot getJpsElement()
getJpsElement in interface SourceFolderpublic int compareTo(ContentFolderBaseImpl folder)
compareTo in interface java.lang.Comparable<ContentFolderBaseImpl>compareTo in class ContentFolderBaseImplpublic RootModelImpl getRootModel()
public void dispose()
Disposabledispose in interface Disposablepublic boolean isDisposed()