Class JsonSystemMaintenanceTaskMarshalling
java.lang.Object
com.atlassian.confluence.impl.system.task.JsonSystemMaintenanceTaskMarshalling
- All Implemented Interfaces:
SystemMaintenanceTaskMarshalling
public class JsonSystemMaintenanceTaskMarshalling
extends Object
implements SystemMaintenanceTaskMarshalling
Use JSON to marshal/unmarshal tasks
- Since:
- 7.7.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmarshal
(SystemMaintenanceTask task) Convert aSystemMaintenanceTask
POJO to a string representation<T extends SystemMaintenanceTask>
TConvert a string representation of aSystemMaintenanceTask
to a POJO
-
Constructor Details
-
JsonSystemMaintenanceTaskMarshalling
public JsonSystemMaintenanceTaskMarshalling()
-
-
Method Details
-
marshal
Description copied from interface:SystemMaintenanceTaskMarshalling
Convert aSystemMaintenanceTask
POJO to a string representation- Specified by:
marshal
in interfaceSystemMaintenanceTaskMarshalling
-
unmarshal
Description copied from interface:SystemMaintenanceTaskMarshalling
Convert a string representation of aSystemMaintenanceTask
to a POJO- Specified by:
unmarshal
in interfaceSystemMaintenanceTaskMarshalling
-