public class TasksInfoWrapper extends Object implements List<GraphNode.TaskInfo>, Serializable
GraphNode.TaskInfo
on a GraphNode
to expose in a pretty way information to MVEL
scripts.Constructor and Description |
---|
TasksInfoWrapper() |
TasksInfoWrapper(List<GraphNode.TaskInfo> tasks) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(GraphNode.TaskInfo e) |
void |
add(int index,
GraphNode.TaskInfo element) |
boolean |
addAll(Collection<? extends GraphNode.TaskInfo> c) |
boolean |
addAll(int index,
Collection<? extends GraphNode.TaskInfo> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
GraphNode.TaskInfo |
get(int index) |
int |
getNumberEndedWithStatus(String status) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<GraphNode.TaskInfo> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<GraphNode.TaskInfo> |
listIterator() |
ListIterator<GraphNode.TaskInfo> |
listIterator(int index) |
GraphNode.TaskInfo |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
GraphNode.TaskInfo |
set(int index,
GraphNode.TaskInfo element) |
int |
size() |
List<GraphNode.TaskInfo> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public TasksInfoWrapper()
public TasksInfoWrapper(List<GraphNode.TaskInfo> tasks)
public int getNumberEndedWithStatus(String status)
public int size()
size
in interface Collection<GraphNode.TaskInfo>
size
in interface List<GraphNode.TaskInfo>
public boolean isEmpty()
isEmpty
in interface Collection<GraphNode.TaskInfo>
isEmpty
in interface List<GraphNode.TaskInfo>
public boolean contains(Object o)
contains
in interface Collection<GraphNode.TaskInfo>
contains
in interface List<GraphNode.TaskInfo>
public Iterator<GraphNode.TaskInfo> iterator()
iterator
in interface Iterable<GraphNode.TaskInfo>
iterator
in interface Collection<GraphNode.TaskInfo>
iterator
in interface List<GraphNode.TaskInfo>
public Object[] toArray()
toArray
in interface Collection<GraphNode.TaskInfo>
toArray
in interface List<GraphNode.TaskInfo>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<GraphNode.TaskInfo>
toArray
in interface List<GraphNode.TaskInfo>
public boolean add(GraphNode.TaskInfo e)
add
in interface Collection<GraphNode.TaskInfo>
add
in interface List<GraphNode.TaskInfo>
public boolean remove(Object o)
remove
in interface Collection<GraphNode.TaskInfo>
remove
in interface List<GraphNode.TaskInfo>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<GraphNode.TaskInfo>
containsAll
in interface List<GraphNode.TaskInfo>
public boolean addAll(Collection<? extends GraphNode.TaskInfo> c)
addAll
in interface Collection<GraphNode.TaskInfo>
addAll
in interface List<GraphNode.TaskInfo>
public boolean addAll(int index, Collection<? extends GraphNode.TaskInfo> c)
addAll
in interface List<GraphNode.TaskInfo>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<GraphNode.TaskInfo>
removeAll
in interface List<GraphNode.TaskInfo>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<GraphNode.TaskInfo>
retainAll
in interface List<GraphNode.TaskInfo>
public void clear()
clear
in interface Collection<GraphNode.TaskInfo>
clear
in interface List<GraphNode.TaskInfo>
public GraphNode.TaskInfo get(int index)
get
in interface List<GraphNode.TaskInfo>
public GraphNode.TaskInfo set(int index, GraphNode.TaskInfo element)
set
in interface List<GraphNode.TaskInfo>
public void add(int index, GraphNode.TaskInfo element)
add
in interface List<GraphNode.TaskInfo>
public GraphNode.TaskInfo remove(int index)
remove
in interface List<GraphNode.TaskInfo>
public int indexOf(Object o)
indexOf
in interface List<GraphNode.TaskInfo>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<GraphNode.TaskInfo>
public ListIterator<GraphNode.TaskInfo> listIterator()
listIterator
in interface List<GraphNode.TaskInfo>
public ListIterator<GraphNode.TaskInfo> listIterator(int index)
listIterator
in interface List<GraphNode.TaskInfo>
public List<GraphNode.TaskInfo> subList(int fromIndex, int toIndex)
subList
in interface List<GraphNode.TaskInfo>
Copyright © 2015 Nuxeo SA. All rights reserved.