Class TaskToSchedulePanel

    • Constructor Detail

      • TaskToSchedulePanel

        public TaskToSchedulePanel​(String taskName)
        Default constructor.
        Parameters:
        taskName - the name of the task to be scheduled.
    • Method Detail

      • toBeDisplayed

        public void toBeDisplayed​(boolean visible)
        Description copied from class: StatusGenericPanel
        The panel is notified that the dialog is going to be visible or invisible.
        Overrides:
        toBeDisplayed in class StatusGenericPanel
        Parameters:
        visible - whether is going to be visible or not.
      • getTitle

        public org.forgerock.i18n.LocalizableMessage getTitle()
        Description copied from class: StatusGenericPanel
        Returns the title that will be used as title of the dialog.
        Specified by:
        getTitle in class StatusGenericPanel
        Returns:
        the title that will be used as title of the dialog.
      • okClicked

        public void okClicked()
        Description copied from class: StatusGenericPanel
        Notification that the ok button has been clicked, the panel is in charge of doing whatever is required (close the dialog, launch a task, etc.).
        Specified by:
        okClicked in class StatusGenericPanel
      • isCanceled

        public boolean isCanceled()
        Tells whether the user chose to close the dialog discarding the provided input.
        Returns:
        true if the user chose to close the dialog discarding the provided input and false otherwise.
      • configurationChanged

        public void configurationChanged​(ConfigurationChangeEvent ev)
        Description copied from interface: ConfigChangeListener
        Method that is called when a change in the configuration occurred.
        Parameters:
        ev - the configuration change event.
      • getSchedule

        public ScheduleType getSchedule()
        Returns the schedule provided by the user.
        Returns:
        the schedule provided by the user.
      • main

        public static void main​(String[] args)
        The main method to test this panel.
        Parameters:
        args - the arguments.