public class TestPlanObservable
extends java.util.Observable
Constructor and Description |
---|
TestPlanObservable()
Simple construtor.
|
TestPlanObservable(java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
Construtor with a testplan
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSelectId()
Get selected id in the test plan
|
java.util.Map<java.lang.String,ClifDeployDefinition> |
getTestPlan()
Get the observable test plan
|
void |
put(java.lang.String newId,
ClifDeployDefinition definition)
Associates the specified value with the specified key in this testplan
and notify observers
|
void |
remove(java.lang.String key)
Removes the mapping for this key from this test plan
and notify observers
|
void |
setSelectId(java.lang.String selectId)
Set selected of this test plan
|
void |
setTestPlan(java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
Set observable test plan
|
public TestPlanObservable()
public TestPlanObservable(java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
testPlan
- the test plan observable by different viewspublic java.util.Map<java.lang.String,ClifDeployDefinition> getTestPlan()
public void setTestPlan(java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
testPlan
- The testPlan to set.public void remove(java.lang.String key)
key
- key whose mapping is to be removed from the map.public void put(java.lang.String newId, ClifDeployDefinition definition)
newId
- id with which the specified clif def is to be associated.definition
- definition to be associated with the specified key.public java.lang.String getSelectId()
public void setSelectId(java.lang.String selectId)
selectId
- The selectId to set.