Package org.opennms.pris
Class RequisitionGenerator
java.lang.Object
org.opennms.pris.RequisitionGenerator
Generates a requisition.
The requisition provider generates a requisition for a configured instance.
The requisition generation is a two step process. The fist step is to load
the information required to generate the requisition from a source. The
second step is to map this data to a OpenNMS requisition.
The source and mapping implementation to use is loaded from the configuration
of the instance for which the requisition is created.
- Author:
- Dustin Frisch <fooker@lab.sh>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RequisitionGenerator
Creates a new requisition provider.- Parameters:
instance
- the name of the instance
-
-
Method Details
-
generate
Generates a requisition.- Parameters:
instance
- of the requisition- Returns:
- the generated requisition
- Throws:
Exception
-