public class ComponentSetDescriptor extends Object
Constructor and Description |
---|
ComponentSetDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
addComponentDescriptor(ComponentDescriptor cd)
Add a new ComponentDescriptor to this set.
|
void |
addDependency(ComponentDependency cd)
Add a depenency to this set's contents.
|
List |
getComponents()
Returns a list of components in this set.
|
List |
getDependencies()
Returns a List of dependencies of this set of components.
|
String |
getId()
Returns the identifier of this set.
|
boolean |
isIsolatedRealm()
Returns true if this set may be in an isolated classrealm.
|
void |
setComponents(List components)
Sets a List of components as this set's contents.
|
void |
setDependencies(List dependencies)
Sets a List of dependencies as this set's component dependencies.
|
void |
setId(String id)
Sets the identifier of this set.
|
void |
setIsolatedRealm(boolean isolatedRealm)
Sets that this set of components may be in an isolated classrealm.
|
String |
toString() |
public List getComponents()
public void addComponentDescriptor(ComponentDescriptor cd)
cd
- the ComponentDescriptor to addpublic void setComponents(List components)
components
- the List of components to setpublic List getDependencies()
public void addDependency(ComponentDependency cd)
cd
- the ComponentDependency to addpublic void setDependencies(List dependencies)
dependencies
- the List of components to setpublic void setIsolatedRealm(boolean isolatedRealm)
isolatedRealm
- true if this set of components may be in an
isolated classrealmpublic boolean isIsolatedRealm()
public String getId()
public void setId(String id)
id
- the identifier to setCopyright © 2019. All rights reserved.