com.ibm.openpages.api.questionnaire

## Class LaunchProgramOptions

- java.lang.Object
- - com.ibm.openpages.api.questionnaire.CopyAssessmentOptions
  - - com.ibm.openpages.api.questionnaire.LaunchProgramOptions

- All Implemented Interfaces:
    java.io.Serializable

      public class LaunchProgramOptions
      extends CopyAssessmentOptions
      implements java.io.Serializable

  Option class for the launch program process, see `IQuestionnaireService.launchProgram(com.ibm.openpages.api.metadata.Id, LaunchProgramOptions)`.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `LaunchProgramOptions.EmailOption` Enum for email option

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LaunchProgramOptions()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getCopyFromProgramId()`
    `LaunchProgramOptions.EmailOption` | `getEmailOption()`
    `java.lang.String` | `getProgramName()`
    `void` | `setCopyFromProgramId(java.lang.String copyFromProgramId)` Sets the copy from program Id
    `void` | `setEmailOption(LaunchProgramOptions.EmailOption emailOption)` Sets the email option.
    `void` | `setProgramName(java.lang.String programName)` Sets the name of the Program object (used for UI-accessible process logs)

    - ### Methods inherited from class com.ibm.openpages.api.questionnaire.CopyAssessmentOptions

      `getQuestionnaireAssessmentTypeName, getQuestionnaireTemplateTypeName, isAddCopiedFromComment, isCopyQuestionAttachments, isCopyQuestionComments, isOverwriteAnswers, setAddCopiedFromComment, setCopyQuestionAttachments, setCopyQuestionComments, setOverwriteAnswers, setQuestionnaireAssessmentTypeName, setQuestionnaireTemplateTypeName`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LaunchProgramOptions

          public LaunchProgramOptions()

  - ### Method Detail

    - #### getEmailOption

          public LaunchProgramOptions.EmailOption getEmailOption()

      Returns:
        email option

    - #### setEmailOption

          public void setEmailOption(LaunchProgramOptions.EmailOption emailOption)

      Sets the email option.
      Parameters:
        `emailOption` -

    - #### getCopyFromProgramId

          public java.lang.String getCopyFromProgramId()

      Returns:
        copy from Program Id

    - #### setCopyFromProgramId

          public void setCopyFromProgramId(java.lang.String copyFromProgramId)

      Sets the copy from program Id
      Parameters:
        `copyFromProgramId` -

    - #### getProgramName

          public java.lang.String getProgramName()

      Returns:
        the name of the Program object (used for UI-accessible process logs)
      Since:
        8.3

    - #### setProgramName

          public void setProgramName(java.lang.String programName)

      Sets the name of the Program object (used for UI-accessible process logs)
      Parameters:
        `programName` -
      Since:
        8.3

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.