public interface DataSetDefRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(DataSetDefRegistryListener listener)
Register a listener interesetd in observe the DataSetDef lifecycle events.
|
DataSetDef |
getDataSetDef(String uuid)
Get the definition for the specified data set.
|
List<DataSetPostProcessor> |
getDataSetDefPostProcessors(String uuid)
Get the post processors for a given definition for the specified data set.
|
List<DataSetPreprocessor> |
getDataSetDefPreProcessors(String uuid)
Get the preprocessors for a given definition for the specified data set.
|
List<DataSetDef> |
getDataSetDefs(boolean onlyPublic)
Get the data set definitions available.
|
void |
registerDataSetDef(DataSetDef dataSetDef)
Add a data set definition to the registry.
|
void |
registerDataSetDef(DataSetDef dataSetDef,
String subjectId,
String message)
Add a data set definition to the registry.
|
void |
registerPostProcessor(String uuid,
DataSetPostProcessor postProcessor)
Register a DataSetPostProcessor instance for the given to data set.
|
void |
registerPreprocessor(String uuid,
DataSetPreprocessor preprocessor)
Register a DataSetPreprocessor instance for the given to data set.
|
DataSetDef |
removeDataSetDef(String uuid)
Removes the specified data set definition.
|
DataSetDef |
removeDataSetDef(String uuid,
String subjectId,
String message)
Removes the specified data set definition.
|
List<DataSetDef> getDataSetDefs(boolean onlyPublic)
onlyPublic - Get only those public (shareable) data set definition (public flag set to true)DataSetDef getDataSetDef(String uuid)
uuid - The unique universal identifier of the data setList<DataSetPreprocessor> getDataSetDefPreProcessors(String uuid)
uuid - The unique universal identifier of the data setList<DataSetPostProcessor> getDataSetDefPostProcessors(String uuid)
uuid - The unique universal identifier of the data setvoid registerPreprocessor(String uuid, DataSetPreprocessor preprocessor)
uuid - The unique universal identifier of the data setpreprocessor - A data set preprocessorvoid registerPostProcessor(String uuid, DataSetPostProcessor postProcessor)
uuid - The unique universal identifier of the data setpostProcessor - A data set postprocessorvoid registerDataSetDef(DataSetDef dataSetDef)
dataSetDef - The data set definitionvoid registerDataSetDef(DataSetDef dataSetDef, String subjectId, String message)
dataSetDef - The data set definitionsubjectId, - The identifier of the subject making the request. If null is ignored.message, - A message to store along the registration request. If null is ignored.DataSetDef removeDataSetDef(String uuid)
uuid - The unique universal identifier of the data setDataSetDef removeDataSetDef(String uuid, String subjectId, String message)
uuid - The unique universal identifier of the data setsubjectId, - The identifier of the subject making the request. If null is ignored.message, - A message to store along the registration request. If null is ignored.void addListener(DataSetDefRegistryListener listener)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.