org.pentaho.platform.scheduler2.ws
Class JobParamsAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<JaxBSafeMap,Map<String,ParamValue>>
org.pentaho.platform.scheduler2.ws.JobParamsAdapter
public class JobParamsAdapter
- extends javax.xml.bind.annotation.adapters.XmlAdapter<JaxBSafeMap,Map<String,ParamValue>>
Converts a Map used to pass ISchedulerService
job parameters
to a JAXB marshallable type and back. See this JAXB reference
- Author:
- aphillips
JobParamsAdapter
public JobParamsAdapter()
marshal
public JaxBSafeMap marshal(Map<String,ParamValue> unsafeMap)
throws Exception
- Specified by:
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<JaxBSafeMap,Map<String,ParamValue>>
- Throws:
Exception
unmarshal
public Map<String,ParamValue> unmarshal(JaxBSafeMap safeMap)
throws Exception
- Specified by:
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<JaxBSafeMap,Map<String,ParamValue>>
- Throws:
Exception