public class CmsResourceTypeStatResultList extends java.lang.Object
| Constructor and Description |
|---|
CmsResourceTypeStatResultList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResult(CmsResourceTypeStatResult result)
Adds a result to the list.
|
void |
deleteOld()
Deletes entries which are older than MAX_TIME.
|
static CmsResourceTypeStatResultList |
init(CmsResourceTypeStatResultList resList)
Method to initialize the list.
|
boolean |
isEmpty()
Checks if result list is empty.
|
void |
setVerticalLayout(com.vaadin.v7.ui.VerticalLayout layout,
boolean addAll)
Sets the layout.
|
public CmsResourceTypeStatResultList()
public static CmsResourceTypeStatResultList init(CmsResourceTypeStatResultList resList)
resList - a given instance or nullpublic void addResult(CmsResourceTypeStatResult result)
result - to be addedpublic void deleteOld()
public boolean isEmpty()
public void setVerticalLayout(com.vaadin.v7.ui.VerticalLayout layout, boolean addAll)
layout - to display the result inaddAll - indicates if the whole list should be added or just the last item