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 XmlAdapter<JaxBSafeMap,Map<String,ParamValue>>
Converts a Mapused to pass ISchedulerService
job parameters to a JAXB marshallable type and back. See this JAXB reference- Author:
- aphillips
-
-
Constructor Summary
Constructors Constructor Description JobParamsAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JaxBSafeMap
marshal(Map<String,ParamValue> unsafeMap)
Map<String,ParamValue>
unmarshal(JaxBSafeMap safeMap)
-
-
-
Method Detail
-
marshal
public JaxBSafeMap marshal(Map<String,ParamValue> unsafeMap) throws Exception
- Specified by:
marshal
in classXmlAdapter<JaxBSafeMap,Map<String,ParamValue>>
- Throws:
Exception
-
unmarshal
public Map<String,ParamValue> unmarshal(JaxBSafeMap safeMap) throws Exception
- Specified by:
unmarshal
in classXmlAdapter<JaxBSafeMap,Map<String,ParamValue>>
- Throws:
Exception
-
-