Interface SystemMaintenanceTaskMarshalling
-
- All Known Implementing Classes:
JsonSystemMaintenanceTaskMarshalling
public interface SystemMaintenanceTaskMarshalling
Marshal aSystemMaintenanceTask
into a string and vice versa- Since:
- 7.7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
marshal(SystemMaintenanceTask task)
Convert aSystemMaintenanceTask
POJO to a string representation<T extends SystemMaintenanceTask>
Tunmarshal(Class<T> taskClazz, String taskString)
Convert a string representation of aSystemMaintenanceTask
to a POJO
-
-
-
Method Detail
-
marshal
String marshal(SystemMaintenanceTask task)
Convert aSystemMaintenanceTask
POJO to a string representation- Throws:
IllegalArgumentException
- if the task cannot be marshalled successfully
-
unmarshal
<T extends SystemMaintenanceTask> T unmarshal(Class<T> taskClazz, String taskString)
Convert a string representation of aSystemMaintenanceTask
to a POJO- Throws:
IllegalArgumentException
- if the string cannot be parsed successfully
-
-