Class JobAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<JobAdapter.JaxbSafeJob,Job>
-
- org.pentaho.platform.scheduler2.ws.JobAdapter
-
public class JobAdapter extends XmlAdapter<JobAdapter.JaxbSafeJob,Job>
Handles the sending ofJob
objects over JAXWS webservices by utilizingJobAdapter.JaxbSafeJob
as a transport type.- Author:
- aphillips
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobAdapter.JaxbSafeJob
-
Constructor Summary
Constructors Constructor Description JobAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobAdapter.JaxbSafeJob
marshal(Job job)
Job
unmarshal(JobAdapter.JaxbSafeJob jaxbSafeJob)
-
-
-
Method Detail
-
marshal
public JobAdapter.JaxbSafeJob marshal(Job job) throws Exception
- Specified by:
marshal
in classXmlAdapter<JobAdapter.JaxbSafeJob,Job>
- Throws:
Exception
-
unmarshal
public Job unmarshal(JobAdapter.JaxbSafeJob jaxbSafeJob) throws Exception
- Specified by:
unmarshal
in classXmlAdapter<JobAdapter.JaxbSafeJob,Job>
- Throws:
Exception
-
-