com.redhat.rhn.frontend.xmlrpc.system
Class ActionMapper

java.lang.Object
  extended by com.redhat.rhn.frontend.xmlrpc.system.ActionMapper

public class ActionMapper
extends java.lang.Object

ActionMapper - converts a com.redhat.rhn.domain.action.Action class into a Map


Constructor Summary
ActionMapper()
          Constructor
 
Method Summary
 java.util.Map actionToMap(Action convert, Server server)
          Convert an Action to a Map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionMapper

public ActionMapper()
Constructor

Method Detail

actionToMap

public java.util.Map actionToMap(Action convert,
                                 Server server)
Convert an Action to a Map

Parameters:
convert - this Action to a Map
server - the server object needed to get the exact server action..
Returns:
Map with all useful attributes from an Action converted to a string entries in a map.