Package org.opennms.pris.api
Interface Source.Factory
- All Known Implementing Classes:
FileRequisitionSource.Factory,HttpRequisitionMergeSource.Factory,HttpRequisitionSource.Factory,JdbcSource.Factory,OcsComputersReplaySource.Factory,OcsComputersSource.Factory,OcsSnmpDevicesReplaySource.Factory,OcsSnmpDevicesSource.Factory,ScriptSource.Factory,XlsSource.Factory
- Enclosing interface:
- Source
public static interface Source.Factory
Factory interface for creating
Sources.-
Method Summary
Modifier and TypeMethodDescriptioncreate(InstanceConfiguration config) Creates a source.Returns the identifier used to created a source using this factory.
-
Method Details
-
getIdentifier
String getIdentifier()Returns the identifier used to created a source using this factory.- Returns:
- the identifier string
-
create
Creates a source.- Parameters:
config- the configuration used to build the source- Returns:
- the created source
-