Search
Schedule.registerResourceClass Method (Class(?), String, Int32, String)
See Also
 






Registers a resource class for serialization support.

Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model

 Syntax

Java  Copy Code

public static void registerResourceClass (
    Class<? extends Resource> resourceClass,
    String classId,
    int classVersion,
    String clientClass
)

 Parameters

resourceClass

A Type instance identifying the resource class.

classId

A class identifier to use when saving and loading resources of the specified type.

classVersion

A revision number of the resource's class serialization format.

clientClass

A class identifier to use when serializing objects of the specified type to JSON.

 See Also