public class RunConfigurations extends HashStructureAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_KEY |
static java.lang.String |
RUN_CONFIGURATION_ACTIVE_NAME |
static java.lang.String |
RUN_CONFIGURATION_DEFINITIONS |
static java.lang.String |
RUN_CONFIGURATION_LIST |
static java.lang.String |
RUN_CONFIGURATION_NAME |
_hash
Constructor and Description |
---|
RunConfigurations(HashStructure hash) |
Modifier and Type | Method and Description |
---|---|
static void |
addRunConfiguration(Project project, RunConfiguration runConfiguration)
Add a RunConfiguration to the collection of defined configurations for the project
|
static java.lang.String |
getActiveName(Project project)
Returns the active name.
|
static RunConfiguration |
getActiveRunConfiguration(Project project)
Returns the currently active RunConfiguration for the supplied project
|
java.util.Map |
getDefinedRunConfigurations()
Return a Map of all run configurations.
|
static RunConfigurations |
getInstance(PropertyStorage propertyStorage)
Return the singleton instance, constructing it if necessary
|
static RunConfiguration |
getRunConfigurationByName(Project project, java.lang.String name)
Returns the named runconfiguration for the supplied project.
|
RunConfiguration[] |
getVisibleRunConfigurations()
Return an array of visible RunConfiguration objects.
|
static boolean |
isActiveRunConfiguration(Project project, RunConfiguration runConfiguration)
Returns whether the supplied RunConfiguration is the currently active RunConfiguration for the supplied project.
|
static void |
setActiveRunConfiguration(Project project, RunConfiguration runConfiguration)
Sets the supplied RunConfiguration to be the active RunConfiguration fot the supplied project
|
void |
setRunConfigurations(RunConfiguration[] runConfigs, boolean editingCustomProperties)
Set the contents of the run configurations HashStructure from the provided array
|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals
public static final java.lang.String DATA_KEY
public static final java.lang.String RUN_CONFIGURATION_LIST
public static final java.lang.String RUN_CONFIGURATION_DEFINITIONS
public static final java.lang.String RUN_CONFIGURATION_NAME
public static final java.lang.String RUN_CONFIGURATION_ACTIVE_NAME
public RunConfigurations(HashStructure hash)
public static RunConfigurations getInstance(PropertyStorage propertyStorage)
public static void addRunConfiguration(Project project, RunConfiguration runConfiguration)
public static java.lang.String getActiveName(Project project)
public java.util.Map getDefinedRunConfigurations()
public RunConfiguration[] getVisibleRunConfigurations()
public void setRunConfigurations(RunConfiguration[] runConfigs, boolean editingCustomProperties)
public static boolean isActiveRunConfiguration(Project project, RunConfiguration runConfiguration)
public static void setActiveRunConfiguration(Project project, RunConfiguration runConfiguration)
public static RunConfiguration getRunConfigurationByName(Project project, java.lang.String name)
public static RunConfiguration getActiveRunConfiguration(Project project)