public class Annotator
extends java.lang.Object
Constructor and Description |
---|
Annotator()
Constructs a new Annotator
|
Annotator(java.lang.String unannotatedLog)
Constructs a new Annotator with the log specified
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
annotate()
Annotates a log with applicable cost data
|
java.lang.String |
annotate(java.lang.String unannotatedLog)
Annotates a log with applicable cost data
|
void |
setSpecID(YSpecificationID id)
Sets the specification id for this log
|
void |
setUnannotatedLog(java.lang.String unannotatedLog)
Sets the unannotated log
|
public Annotator()
public Annotator(java.lang.String unannotatedLog)
unannotatedLog
- an XES log to annotate with cost datapublic void setUnannotatedLog(java.lang.String unannotatedLog)
unannotatedLog
- an XES log to annotate with cost datapublic void setSpecID(YSpecificationID id)
id
- the specification idpublic java.lang.String annotate(java.lang.String unannotatedLog) throws java.lang.IllegalStateException
unannotatedLog
- an XES log to annotate with cost datajava.lang.IllegalStateException
- if the unannotatedLog is null or has
an invalid formatpublic java.lang.String annotate() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the unannotatedLog is null (i.e. has
not been previously set via the relevant constructor
or mutator) or has an invalid formatCopyright © 2004-2014 The YAWL Foundation.