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 ISchedulerServicejob 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 JaxBSafeMapmarshal(Map<String,ParamValue> unsafeMap)Map<String,ParamValue>unmarshal(JaxBSafeMap safeMap)
-
-
-
Method Detail
-
marshal
public JaxBSafeMap marshal(Map<String,ParamValue> unsafeMap) throws Exception
- Specified by:
marshalin classXmlAdapter<JaxBSafeMap,Map<String,ParamValue>>- Throws:
Exception
-
unmarshal
public Map<String,ParamValue> unmarshal(JaxBSafeMap safeMap) throws Exception
- Specified by:
unmarshalin classXmlAdapter<JaxBSafeMap,Map<String,ParamValue>>- Throws:
Exception
-
-