Package io.zeebe.model.bpmn.impl
Class QueryImpl<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
- java.lang.Object
-
- io.zeebe.model.bpmn.impl.QueryImpl<T>
-
-
Constructor Summary
Constructors Constructor Description QueryImpl(Collection<T> collection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
<V extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
Query<V>filterByType(Class<V> elementClass)
<V extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
Query<V>filterByType(org.camunda.bpm.model.xml.type.ModelElementType elementType)
List<T>
list()
T
singleResult()
Stream<T>
stream()
-
-
-
Constructor Detail
-
QueryImpl
public QueryImpl(Collection<T> collection)
-
-
Method Detail
-
count
public int count()
-
filterByType
public <V extends org.camunda.bpm.model.xml.instance.ModelElementInstance> Query<V> filterByType(org.camunda.bpm.model.xml.type.ModelElementType elementType)
- Specified by:
filterByType
in interfaceQuery<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
-
filterByType
public <V extends org.camunda.bpm.model.xml.instance.ModelElementInstance> Query<V> filterByType(Class<V> elementClass)
- Specified by:
filterByType
in interfaceQuery<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
-
singleResult
public T singleResult()
- Specified by:
singleResult
in interfaceQuery<T extends org.camunda.bpm.model.xml.instance.ModelElementInstance>
-
-