Module: XES
- Defined in:
- lib/xes.rb,
lib/xes/log.rb,
lib/xes/event.rb,
lib/xes/trace.rb,
lib/xes/global.rb,
lib/xes/version.rb,
lib/xes/document.rb,
lib/xes/attribute.rb,
lib/xes/extension.rb,
lib/xes/classifier.rb,
lib/xes/format-error.rb,
lib/xes/attribute-accessor.rb
Overview
XES is a module for genereting XES event log.
Defined Under Namespace
Modules: AttributeAccessor, EventAttributeAccessor, TraceAttributeAccessor Classes: Attribute, Classifier, Document, Event, Extension, FormatError, Global, Log, Trace
Constant Summary collapse
- VERSION =
version of ruby-xes
"0.1.0"
- EXTENSION =
known XES extension elements
{ :concept => Extension.new("Concept", "concept", "http://www.xes-standard.org/concept.xesext"), :identity => Extension.new("Identity", "identity", "http://www.xes-standard.org/identity.xesext"), :time => Extension.new("Time", "time", "http://www.xes-standard.org/time.xesext"), :lifecycle => Extension.new("Lifecycle", "lifecycle", "http://www.xes-standard.org/lifecycle.xesext"), :organizational => Extension.new("Organizational", "org", "http://www.xes-standard.org/org.xesext") }
- CLASSIFIER =
known XES classifier elements
{ :mxml_legacy_classifier => Classifier.new("MXML Legacy Classifier", "concept:name lifecycle:transition"), :event_name => Classifier.new("Event Name", "concept:name"), :resource => Classifier.new("Resource", "org:resource") }
Class Method Summary collapse
-
.boolean(key, value, meta = []) ⇒ Attribute
Return boolean attribute object.
-
.date(key, value, meta = []) ⇒ Attribute
Return date attribute object.
-
.float(key, value, meta = []) ⇒ Attribute
Return float attribute object.
-
.id(key, value, meta = []) ⇒ Attribute
Return id attribute object.
-
.int(key, value, meta = []) ⇒ Attribute
Return int attribute object.
-
.string(key, value, meta = []) ⇒ Attribute
Return string attribute object.
Class Method Details
.boolean(key, value, meta = []) ⇒ Attribute
Return boolean attribute object.
183 184 185 |
# File 'lib/xes/attribute.rb', line 183 def boolean(key, value, =[]) Attribute.new("boolean", key, value, ) end |
.date(key, value, meta = []) ⇒ Attribute
Return date attribute object.
141 142 143 |
# File 'lib/xes/attribute.rb', line 141 def date(key, value, =[]) Attribute.new("date", key, value, ) end |
.float(key, value, meta = []) ⇒ Attribute
Return float attribute object.
169 170 171 |
# File 'lib/xes/attribute.rb', line 169 def float(key, value, =[]) Attribute.new("float", key, value, ) end |
.id(key, value, meta = []) ⇒ Attribute
Return id attribute object.
197 198 199 |
# File 'lib/xes/attribute.rb', line 197 def id(key, value, =[]) Attribute.new("id", key, value, ) end |