@Entity
public class ExecutionUnitGroup
extends PropertyOwner
Modifier and Type | Field and Description |
---|---|
static int |
NAME_MAX_LENGTH
Maximum length of the name of an execution unit group.
|
Modifier and Type | Method and Description |
---|---|
void |
addExecutionUnit(ExecutionUnit unit)
Add an execution unit to this group.
|
boolean |
containsExecutionUnit(ExecutionUnit unit) |
DeploymentSpec |
getDeploymentSpec()
Deprecated.
Use getPhysicalDesign.
|
java.lang.String |
getDisplayableTypeName() |
java.util.List |
getExecutionUnits()
Get a list of the execution units in this group.
|
IRoot |
getOwner() |
MapPhysicalDesign |
getPhysicalDesign() |
boolean |
isProposedAddExecutionUnitValid(ExecutionUnit exUnit)
Return true if the specified execution unit can be legally added to this group,
else return false.
|
void |
removeExecutionUnit(ExecutionUnit unit)
Remove an execution unit from this group.
|
void |
setName(java.lang.String name) |
public static final int NAME_MAX_LENGTH
public void addExecutionUnit(ExecutionUnit unit)
unit
- The execution unit to add.public boolean isProposedAddExecutionUnitValid(ExecutionUnit exUnit) throws MappingException
exUnit
- The proposed execution unit to add to this group.MapPhysicalException
MappingException
public void removeExecutionUnit(ExecutionUnit unit)
unit
- The execution unit to remove.public DeploymentSpec getDeploymentSpec()
public MapPhysicalDesign getPhysicalDesign()
public java.util.List getExecutionUnits()
public boolean containsExecutionUnit(ExecutionUnit unit)
public IRoot getOwner()
public java.lang.String getDisplayableTypeName()
public void setName(java.lang.String name) throws MappingException
MappingException