public class MeasurementViewerPostProcessingFactory extends java.lang.Object implements PostProcessorAddonFactory
Constructor and Description |
---|
MeasurementViewerPostProcessingFactory() |
Modifier and Type | Method and Description |
---|---|
ToolAddonUI |
createPostProcessorUI(java.lang.String ID,
YouScopeClient client,
YouScopeServer server,
java.lang.String measurementFolder)
Returns a new post-processing addon UI for the given type identifier, or null if factory does not support the post-processing type identifier.
|
AddonMetadata |
getPostProcessorMetadata(java.lang.String typeIdentifier)
Returns the metadata (like human readable name) for a given post processor type identifier.
|
java.lang.String[] |
getSupportedTypeIdentifiers()
Returns all measurement post-processor type identifiers supported by this addon.
|
boolean |
isSupportingTypeIdentifier(java.lang.String ID)
Returns true if this factory supports creation of post-processors with the given type identifiers, and false otherwise.
|
public MeasurementViewerPostProcessingFactory()
public ToolAddonUI createPostProcessorUI(java.lang.String ID, YouScopeClient client, YouScopeServer server, java.lang.String measurementFolder) throws AddonException
PostProcessorAddonFactory
createPostProcessorUI
in interface PostProcessorAddonFactory
ID
- The type identifier for which a post-processor should be created.client
- YouScope client.server
- YouScope server.measurementFolder
- The folder where the measurement is saved which should be post-processed.AddonException
- Thrown if type identifier is not supported by this factory, or if an error in the UI construction occured.public java.lang.String[] getSupportedTypeIdentifiers()
PostProcessorAddonFactory
getSupportedTypeIdentifiers
in interface PostProcessorAddonFactory
public boolean isSupportingTypeIdentifier(java.lang.String ID)
PostProcessorAddonFactory
isSupportingTypeIdentifier
in interface PostProcessorAddonFactory
ID
- The type identifier of the measurement post-processor for which it should be queried if this factory supports its construction.public AddonMetadata getPostProcessorMetadata(java.lang.String typeIdentifier) throws AddonException
PostProcessorAddonFactory
getPostProcessorMetadata
in interface PostProcessorAddonFactory
typeIdentifier
- The type identifier of the post processor for which the metadata should be returned.AddonException
- Thrown if identifier is not supported by the factory.