Interface SystemMaintenanceTaskMarshalling
-
- All Known Implementing Classes:
JsonSystemMaintenanceTaskMarshalling
public interface SystemMaintenanceTaskMarshallingMarshal aSystemMaintenanceTaskinto a string and vice versa- Since:
- 7.7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringmarshal(SystemMaintenanceTask task)Convert aSystemMaintenanceTaskPOJO to a string representation<T extends SystemMaintenanceTask>
Tunmarshal(Class<T> taskClazz, String taskString)Convert a string representation of aSystemMaintenanceTaskto a POJO
-
-
-
Method Detail
-
marshal
String marshal(SystemMaintenanceTask task)
Convert aSystemMaintenanceTaskPOJO 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 aSystemMaintenanceTaskto a POJO- Throws:
IllegalArgumentException- if the string cannot be parsed successfully
-
-