Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.server.api.custom.schedule
Interface ExtParameterGenerator

    public interface ExtParameterGenerator

ExtParameterGenerator. Instances of classes that implement this interface are used to get report parameters. These instances are used to work out parameter values and provide the values to the server for running reports at the scheduled runing time.

Since:
  v9.0

Method Summary
`void` | `close()` Releases the resources of the generator.
`java.lang.Object` | `getParameterValue(java.lang.String pmName)` Gets the value or values of a specified parameter.
`void` | `initByReportContext(ServerInfo srvInfo)` Initializes the generator by report context.

Method Detail

### initByReportContext

    void initByReportContext(ServerInfo srvInfo)

  Initializes the generator by report context.

  Parameters:
    `srvInfo` - the `ServerInfo`>, which provides some methods for getting information of the server and task. e.g. task ID, task class, next run time, schedule type...s

### getParameterValue

    java.lang.Object getParameterValue(java.lang.String pmName)

  Gets the value or values of a specified parameter. If the parameter supports multiple choices, the returned value must be an array, or else a string.

  Parameters:
    `pmName` - the parameter name.
  Returns:
    the parameter value or values.

### close

    void close()

  Releases the resources of the generator.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD