public abstract class SandboxedFeatureFactory
extends java.lang.Object
SandboxedFeature
instances.Constructor and Description |
---|
SandboxedFeatureFactory() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<java.lang.String> |
getSupportedFeatures()
Returns the list of IDs of the sandboxed features this factory can create
via
newSandboxedFeature . |
abstract SandboxedFeature |
newSandboxedFeature(java.lang.String id)
Returns a new instance of the specified
SandboxedFeature . |
public abstract java.util.List<java.lang.String> getSupportedFeatures()
newSandboxedFeature
.public abstract SandboxedFeature newSandboxedFeature(java.lang.String id)
SandboxedFeature
.id
- the ID of the sandboxed featurejava.lang.IllegalArgumentException
- if the ID is null
or
invalid