Class StringToLong
java.lang.Object
org.nuxeo.ecm.automation.core.impl.adapters.StringToLong
- All Implemented Interfaces:
TypeAdapter
- Since:
- 5.7
- Author:
- Antoine Taillefer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAdaptedValue
(OperationContext ctx, Object objectToAdapt) Adapt the given object to an instance of the given target type.
-
Constructor Details
-
StringToLong
public StringToLong()
-
-
Method Details
-
getAdaptedValue
Description copied from interface:TypeAdapter
Adapt the given object to an instance of the given target type. The input object cannot be null. Throws an exception if the object cannot be adapted.- Specified by:
getAdaptedValue
in interfaceTypeAdapter
- Throws:
TypeAdaptException
- when the object cannot be adapted
-