org.xwiki.extension.script.internal.safe
Class ExtensionPlanScriptSafeProvider
java.lang.Object
org.xwiki.extension.script.internal.safe.ExtensionPlanScriptSafeProvider
- All Implemented Interfaces:
- ScriptSafeProvider<ExtensionPlan>
@Component
@Singleton
public class ExtensionPlanScriptSafeProvider
- extends Object
- implements ScriptSafeProvider<ExtensionPlan>
Provide safe Extension.
- Since:
- 4.0M2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtensionPlanScriptSafeProvider
public ExtensionPlanScriptSafeProvider()
get
public <S> S get(ExtensionPlan unsafe)
- Specified by:
get
in interface ScriptSafeProvider<ExtensionPlan>
- Type Parameters:
S
- the type of the safe object version- Parameters:
unsafe
- the unsafe version of the object
- Returns:
- a safe version of the passed object