public interface MetadataConverterPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addLookupParameter(java.lang.String aParamName,
java.util.List aValues)
Add lookup parameter
|
void |
addParameters(java.util.HashMap aParameters)
add converter input parameters.
|
void |
convert(java.util.HashMap aConversionParams,
java.io.Writer aWriter)
This method converts an input object into a metadata document.
|
java.lang.String |
getHelpURI(java.lang.String aStepName)
Allows you to obtain the URI of a help file within the Pega-Online
help.
|
java.util.HashMap |
getInitialParameterAlternativeMarkup()
This method returns a HashMap which contains alternative HTML
markup any-combination-of/all-of the initial parameters.
|
java.util.HashMap |
getInitialParameterDefaultValues()
Returns a HashMap containing default values for the initial
parameters.
|
java.util.HashMap |
getInitParameterDescriptions()
get initialization parameter descriptions
|
java.util.HashMap |
getInitParameterFriendlyNames()
Get the 'human readable' names for the initial parameters.
|
java.lang.String |
getInstructions(java.lang.String aStepName)
Allows you to get the instructions for the user.
|
java.lang.String |
getLookupParameterDescription(java.lang.String aLookupParameterName)
Get lookup parameter description
|
java.lang.String[] |
getLookupParameters()
get lookup parameters
|
java.util.List |
getLookupParameterValues(java.lang.String aLookupParameterName)
Get lookup parameter values
this method should be called for every lookup parameter AND IN THE SAME order as returned by the 'getLookupParameters' method
|
java.lang.String |
getPluginInfo()
Get this converter description.
|
java.util.HashMap |
getProcessingParameterAlternativeMarkup()
This method returns a HashMap which contains alternative HTML
markup any-combination-of/all-of the processing parameters.
|
java.util.HashMap |
getProcessingParameterDefaultValues()
Returns a HashMap containing default values for the initial
parameters.
|
java.util.HashMap |
getProcessingParameterDescriptions()
Get processing parameter descriptions
|
java.util.HashMap |
getProcessingParameterFriendlyNames()
Get the 'human readable' names for the processing parameters.
|
java.util.List |
getRequiredInitParameters()
Retrieves a list of the initial parameter keys that are meant
to be required parameters.
|
java.util.List |
getRequiredProcessingParameters()
Retrieves a list of the processing parameter keys that are meant
to be required parameters.
|
java.lang.String |
getTargetFormat()
Get the output document type
|
boolean |
LookupParameterHasMultipleValues(java.lang.String aLookupParameterName)
Can lookup parameter have multiple values
|
boolean |
moreProcessingParameters(java.util.HashMap aProcssingParams)
Returns true iff plugin requires caller to enter additional processing parameters.
|
void |
setPRAPIHandle(java.lang.Object aPRAPIHandle)
Set PegaRules Public API handle
|
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
void setPRAPIHandle(java.lang.Object aPRAPIHandle)
aPRAPIHandle
- a handle to PegaRules Public APIs.void addParameters(java.util.HashMap aParameters) throws java.lang.Exception
aParameters
- A HashMap containing parameters and their values.java.lang.Exception
- if a parameter name is not validvoid addLookupParameter(java.lang.String aParamName, java.util.List aValues) throws java.lang.Exception
aParamName
- aValues
- java.lang.Exception
- if a lookup parameter name is not validvoid convert(java.util.HashMap aConversionParams, java.io.Writer aWriter) throws java.lang.Exception
aConversionParams
- A HashMap containing conversion parameters .aWriter
- The output Writer object to write the document to.java.lang.Exception
- if a required parameter is missing or a conversion source object is not acessiblejava.util.HashMap getInitParameterDescriptions()
java.util.HashMap getInitParameterFriendlyNames()
java.lang.String[] getLookupParameters()
java.lang.String getLookupParameterDescription(java.lang.String aLookupParameterName) throws java.lang.Exception
aLookupParameterName
- java.lang.Exception
- if a lookup parameter name is not validjava.util.HashMap getProcessingParameterDescriptions()
java.util.HashMap getProcessingParameterFriendlyNames()
java.util.List getLookupParameterValues(java.lang.String aLookupParameterName) throws java.lang.Exception
aLookupParameterName
- java.lang.Exception
- if a parameter name is invalid or a conversion source object is not acessiblejava.lang.String getPluginInfo()
java.lang.String getTargetFormat()
boolean LookupParameterHasMultipleValues(java.lang.String aLookupParameterName) throws java.lang.Exception
aLookupParameterName
- java.lang.Exception
- if a lookup parameter name is not validboolean moreProcessingParameters(java.util.HashMap aProcssingParams) throws java.lang.Exception
aProcssingParams
- a HashMap containing processing(conversion) parameters and their values.java.lang.Exception
java.util.List getRequiredInitParameters()
java.util.List getRequiredProcessingParameters()
java.lang.String getInstructions(java.lang.String aStepName) throws java.lang.Exception
aStepName
- The value is either one of the lookup
parameter names, "INITIAL_PAMAETERS" (for
specifying the initial parameter step), or
"PROCESSING_PARAMETERS" (for specifying
the processing parameters).java.lang.Exception
java.lang.String getHelpURI(java.lang.String aStepName) throws java.lang.Exception
aStepName
- The value is either one of the lookup
parameter names, "INITIAL_PAMAETERS" (for
specifying the initial parameter step), or
"PROCESSING_PARAMETERS" (for specifying
the processing parameters).java.lang.Exception
java.util.HashMap getInitialParameterAlternativeMarkup()
java.util.HashMap getProcessingParameterAlternativeMarkup()
java.util.HashMap getInitialParameterDefaultValues()
java.util.HashMap getProcessingParameterDefaultValues()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.