|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.vajhoej.model.core.ModelFilter
public class ModelFilter
Class ModelFilter translates a model to certain readonly models.
Constructor Summary | |
---|---|
ModelFilter()
|
Method Summary | |
---|---|
static java.util.List<Location> |
addLocations(java.util.List<Location> allloc,
Model m,
int w,
int y0)
Add locations for VM's. |
static java.util.List<Location> |
filterLocations(java.util.List<Location> allloc,
Model m)
Filter non existing locations. |
static Model |
flattenComponents(Model arg)
Flatten component model so all components are at the outer/box level. |
static Model |
hideConnections(Model arg)
Hide connections. |
static Model |
hideHardware(Model arg)
Hide hardware (CPU, memory and disk) information. |
static Model |
ignoreVMs(Model arg)
Ignore VM's and treat VM's like physical boxes. |
static Model |
removeDuplicates(Model arg)
Remove duplicates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModelFilter()
Method Detail |
---|
public static Model hideHardware(Model arg)
arg
- old model
public static Model flattenComponents(Model arg)
arg
- old model
public static Model hideConnections(Model arg)
arg
- old model
public static Model removeDuplicates(Model arg)
arg
- old model
public static Model ignoreVMs(Model arg)
arg
- old model
public static java.util.List<Location> filterLocations(java.util.List<Location> allloc, Model m)
allloc
- all locationsm
- model
public static java.util.List<Location> addLocations(java.util.List<Location> allloc, Model m, int w, int y0)
allloc
- all locationsm
- modelw
- widthy0
- start y
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |