Interface CronTrigger

    • Method Detail

      • getId

        String getId()
        Returns:
        The id of this definition.
      • getCreatedAt

        Date getCreatedAt()
        Returns:
        The time that this trigger was createdAt at.
      • getUpdatedAt

        Date getUpdatedAt()
        Returns:
        The time that this trigger was last updatedAt at.
      • getScope

        Scope getScope()
        Returns:
        The scope of this trigger.
      • getName

        String getName()
        Returns:
        The name of this definition.
      • getWorkflowName

        String getWorkflowName()
        Returns:
        The name of workflow that this trigger needs to run.
      • getWorkflowId

        String getWorkflowId()
        Returns:
        The Id of workflow that this trigger needs to run.
      • getWorkflowInput

        Map<String,​?> getWorkflowInput()
        Returns:
        The input values with which the workflow needs to run.
      • getWorkflowParameters

        Map<String,​?> getWorkflowParameters()
        Returns:
        The workflow type specific parameters with which the workflow needs to run.
      • getPattern

        String getPattern()
        Returns:
        The cron pattern of this trigger.
      • getRemainingExecutionsCount

        Integer getRemainingExecutionsCount()
        Returns:
        The number of remaining executions of this trigger.
      • getFirstExecutionTime

        Date getFirstExecutionTime()
        Returns:
        The first execution time of this trigger.
      • getNextExecutionTime

        Date getNextExecutionTime()
        Returns:
        The next execution time of this trigger according the cron pattern.