org.eclipse.stardust.engine.api.dto
Interface ProcessInstanceAttributes

All Superinterfaces:
Serializable

public interface ProcessInstanceAttributes
extends Serializable

This class contains attributes for a process instance. Changing these attributes does not affect the workflow behavior.

Author:
born

Method Summary
 Note addNote(String text)
          Adds a note to the process instance.
 Note addNote(String text, ContextKind contextKind, long contextOid)
          Adds a note to the process instance with context .
 List<Note> getNotes()
           
 long getProcessInstanceOid()
           
 

Method Detail

getProcessInstanceOid

long getProcessInstanceOid()
Returns:
the oid of the corresponding process instance.

addNote

Note addNote(String text)
Adds a note to the process instance.

Parameters:
text - the note text.
Returns:
The note.

addNote

Note addNote(String text,
             ContextKind contextKind,
             long contextOid)
Adds a note to the process instance with context .

Parameters:
text - the note text.
contextKind - the kind of context object.
contextOid - the Oid of the context object.
Returns:
the note.

getNotes

List<Note> getNotes()
Returns:
a list of Notes.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.