public abstract class FacetBasedDetectedFrameworkDescription<F extends Facet,C extends FacetConfiguration> extends DetectedFrameworkDescription
Constructor and Description |
---|
FacetBasedDetectedFrameworkDescription(FacetBasedFrameworkDetector<F,C> detector,
C configuration,
java.util.Set<VirtualFile> files) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSetupFramework(java.util.Collection<? extends DetectedFrameworkDescription> allDetectedFrameworks)
Check whether the framework can be added to the project or not
|
protected void |
doSetup(ModifiableModelsProvider modifiableModelsProvider,
Module module) |
boolean |
equals(java.lang.Object obj) |
C |
getConfiguration() |
FrameworkDetector |
getDetector() |
protected abstract java.util.Collection<? extends Facet> |
getExistentFacets(FacetTypeId<?> underlyingFacetType) |
protected abstract java.lang.String |
getModuleName() |
java.util.Collection<? extends VirtualFile> |
getRelatedFiles() |
java.lang.String |
getSetupText() |
int |
hashCode() |
setupFramework
public FacetBasedDetectedFrameworkDescription(FacetBasedFrameworkDetector<F,C> detector, C configuration, java.util.Set<VirtualFile> files)
public java.util.Collection<? extends VirtualFile> getRelatedFiles()
getRelatedFiles
in class DetectedFrameworkDescription
FrameworkDetector
which belong to detected frameworkpublic C getConfiguration()
public java.lang.String getSetupText()
getSetupText
in class DetectedFrameworkDescription
public FrameworkDetector getDetector()
getDetector
in class DetectedFrameworkDescription
protected abstract java.lang.String getModuleName()
public boolean canSetupFramework(java.util.Collection<? extends DetectedFrameworkDescription> allDetectedFrameworks)
DetectedFrameworkDescription
canSetupFramework
in class DetectedFrameworkDescription
allDetectedFrameworks
- all frameworks currently detected in the projecttrue
ifprotected abstract java.util.Collection<? extends Facet> getExistentFacets(FacetTypeId<?> underlyingFacetType)
protected void doSetup(ModifiableModelsProvider modifiableModelsProvider, Module module)
public boolean equals(java.lang.Object obj)
equals
in class DetectedFrameworkDescription
public int hashCode()
hashCode
in class DetectedFrameworkDescription