public abstract class AbstractExternalSystemLocalSettings<S extends AbstractExternalSystemLocalSettings.State>
extends java.lang.Object
For example, we don't want to store recent tasks list at common external system settings, hence, that data is kept at user-local settings.
Note: non-abstract sub-classes of this class are expected to be marked by AbstractExternalSystemLocalSettings.State
annotation configured
to be stored under a distinct name at a StoragePathMacros.CACHE_FILE
.
Modifier and Type | Class and Description |
---|---|
static class |
AbstractExternalSystemLocalSettings.State |
static class |
AbstractExternalSystemLocalSettings.SyncType |
Modifier | Constructor and Description |
---|---|
protected |
AbstractExternalSystemLocalSettings(ProjectSystemId externalSystemId,
Project project) |
protected |
AbstractExternalSystemLocalSettings(ProjectSystemId externalSystemId,
Project project,
S state) |
Modifier and Type | Method and Description |
---|---|
void |
fillState(AbstractExternalSystemLocalSettings.State otherState)
Deprecated.
|
void |
forgetExternalProjects(java.util.Set<java.lang.String> linkedProjectPathsToForget)
Asks current settings to drop all information related to external projects which root configs are located at the given paths.
|
java.util.Map<ExternalProjectPojo,java.util.Collection<ExternalProjectPojo>> |
getAvailableProjects() |
java.util.Map<java.lang.String,java.util.Collection<ExternalTaskPojo>> |
getAvailableTasks()
|
java.util.Map<java.lang.String,java.lang.Long> |
getExternalConfigModificationStamps() |
java.util.Map<java.lang.String,ExternalProjectBuildClasspathPojo> |
getProjectBuildClasspath() |
java.util.Map<java.lang.String,AbstractExternalSystemLocalSettings.SyncType> |
getProjectSyncType() |
java.util.List<ExternalTaskExecutionInfo> |
getRecentTasks() |
S |
getState() |
void |
loadState(AbstractExternalSystemLocalSettings.State state) |
void |
setAvailableProjects(java.util.Map<ExternalProjectPojo,java.util.Collection<ExternalProjectPojo>> projects) |
void |
setProjectBuildClasspath(java.util.Map<java.lang.String,ExternalProjectBuildClasspathPojo> value) |
protected S extends AbstractExternalSystemLocalSettings.State state
protected AbstractExternalSystemLocalSettings(ProjectSystemId externalSystemId, Project project, S state)
protected AbstractExternalSystemLocalSettings(ProjectSystemId externalSystemId, Project project)
public void forgetExternalProjects(java.util.Set<java.lang.String> linkedProjectPathsToForget)
linkedProjectPathsToForget
- target root external project pathspublic java.util.Map<ExternalProjectPojo,java.util.Collection<ExternalProjectPojo>> getAvailableProjects()
public void setAvailableProjects(java.util.Map<ExternalProjectPojo,java.util.Collection<ExternalProjectPojo>> projects)
@Deprecated public java.util.Map<java.lang.String,java.util.Collection<ExternalTaskPojo>> getAvailableTasks()
public java.util.List<ExternalTaskExecutionInfo> getRecentTasks()
public java.util.Map<java.lang.String,java.lang.Long> getExternalConfigModificationStamps()
public java.util.Map<java.lang.String,ExternalProjectBuildClasspathPojo> getProjectBuildClasspath()
public java.util.Map<java.lang.String,AbstractExternalSystemLocalSettings.SyncType> getProjectSyncType()
public S getState()
public void loadState(AbstractExternalSystemLocalSettings.State state)
public void setProjectBuildClasspath(java.util.Map<java.lang.String,ExternalProjectBuildClasspathPojo> value)
@Deprecated public void fillState(AbstractExternalSystemLocalSettings.State otherState)