public class TechnologyScopeConfiguration extends HashStructureAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_KEY
Key for obtaining the project dependency configuration.
|
static java.lang.String |
TECHNOLOGY_SCOPE_KEY |
static java.lang.String |
TECHNOLOGY_SCOPE_PROPERTY |
_hash
Modifier and Type | Method and Description |
---|---|
static java.util.List<ChangeInfo> |
findAllTechScopeChangeInfos(ProjectChangeEvent e) |
static TechnologyScopeConfiguration |
getInstance(PropertyStorage propertyData) |
static TechnologyScope |
getNewTechnologyScopeValue(java.util.List<ChangeInfo> changeInfos) |
TechnologyScope |
getTechnologyScope() |
java.util.Collection<java.lang.String> |
getUnknownTechnologies() |
static void |
init() |
boolean |
setTechnologyScope(TechnologyScope scope) |
boolean |
updateTechnologyScope(java.lang.String[] technologyKeys)
Helper method to update the technology scope of a
Project . |
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 TECHNOLOGY_SCOPE_PROPERTY
public static final java.lang.String TECHNOLOGY_SCOPE_KEY
public static TechnologyScopeConfiguration getInstance(PropertyStorage propertyData)
public static java.util.List<ChangeInfo> findAllTechScopeChangeInfos(ProjectChangeEvent e)
public static void init()
public java.util.Collection<java.lang.String> getUnknownTechnologies()
public static TechnologyScope getNewTechnologyScopeValue(java.util.List<ChangeInfo> changeInfos)
public TechnologyScope getTechnologyScope()
public boolean setTechnologyScope(TechnologyScope scope)
public final boolean updateTechnologyScope(java.lang.String[] technologyKeys)
Project
.
If the project has a non-empty technology scope, then the specified
technologies are added to the project's scope; otherwise, no action is
taken.Update: technology scopes are now added even on a project with an empty list of technology scopes (e.g. a default project).
technologyKeys
- A String
array of the technology keys to
add to the project.true
if the technology scope changed as a result
of this method, otherwise false
.