|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.framework.log.LogEntity
org.processmining.framework.log.Process
public abstract class Process
This abstract class provides high-level access and information for a process, including access to the contained process instances.
Constructor Summary | |
---|---|
Process()
|
Method Summary | |
---|---|
abstract void |
addProcessInstance(ProcessInstance instance)
Adds the given process instance to this process. |
abstract int |
clear()
Removes all contained process instances from this process. |
abstract ProcessInstance |
getInstance(int index)
Retrieves an instance of this process by its relative index, i.e. |
abstract ProcessInstance |
getInstance(java.lang.String name)
Retrieves an instance of this process identified by its name, or ID, string. |
abstract java.lang.String[] |
getInstanceNames()
Returns an array containing the names, or IDs, of all instances of this process. |
abstract ModelElements |
getModelElements()
Returns the set of model elements contained in all instances of this process. |
abstract java.util.Iterator |
iterator()
Returns an iterator over all instances of this process in the log. |
abstract ProcessInstance |
removeProcessInstance(int index)
Removes the process instance with the given index, i.e. |
abstract ProcessInstance |
removeProcessInstance(java.lang.String name)
Removes the process instance with the given name, or ID, from this process. |
abstract int |
size()
Returns the number of instances for this process contained in the log. |
Methods inherited from class org.processmining.framework.log.LogEntity |
---|
getAttributes, getDescription, getName, removeAttribute, setAttribute, setAttributes, setDescription, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Process()
Method Detail |
---|
public abstract int size()
public abstract ProcessInstance getInstance(int index)
index
- Index of the requested process instance,
must be within the range [0, size()]
.
public abstract java.lang.String[] getInstanceNames()
public abstract ProcessInstance getInstance(java.lang.String name)
name
-
public abstract java.util.Iterator iterator()
public abstract void addProcessInstance(ProcessInstance instance)
instance
- public abstract ProcessInstance removeProcessInstance(java.lang.String name)
name
- Name of the process instance to remove.
null
otherwise.public abstract ProcessInstance removeProcessInstance(int index)
index
- Index of the process instance to remove.
null
otherwise.public abstract int clear()
public abstract ModelElements getModelElements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |