Class: Feature

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource
Defined in:
lib/keeper/feature.rb

Class Method Summary collapse

Class Method Details

.xmlnamespacesObject



21
22
23
# File 'lib/keeper/feature.rb', line 21

def self.xmlnamespaces
  { "k" => "http://inttools.suse.de/sxkeeper/schema/keeper" }
end

.xpathmapObject



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/keeper/feature.rb', line 10

def self.xpathmap
  { :id => "@k:id", :milestone => "productcontext/milestone/name", :actors => "actor",
    :requester => "actor[role='requester']/person/email",
    :productmgr => "actor[role='productmanager']/person/email",
    :projectmgr => "actor[role='projectmanager']/person/email",
    :engmgr => "actor[role='teamleader']/person/email",
    :developer => "actor[role='developer']/person/email",
    :productid => "productcontext/product/productid",
    :product => "productcontext/product/name"
  }
end