Package org.jbpm.casemgmt.api.event

## Class CaseStartEvent

- java.lang.Object
- - org.jbpm.casemgmt.api.event.CaseEvent
  - - org.jbpm.casemgmt.api.event.CaseStartEvent

-     public class CaseStartEvent
      extends CaseEvent

  Represents occurrence of start case operation

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CaseStartEvent​(String user, String caseId, String deploymentId, String caseDefinitionId, CaseFileInstance caseFile)` |
    `CaseStartEvent​(String user, String caseId, String deploymentId, String caseDefinitionId, CaseFileInstance caseFile, Long processInstanceId)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getCaseDefinitionId()` | Returns case definition id
    `CaseFileInstance` | `getCaseFile()` | Returns case file associated with the case
    `String` | `getDeploymentId()` | Returns deployment id that case belongs to
    `Long` | `getProcessInstanceId()` | Returns process instance id of the case process instance
    `String` | `toString()` |

    - ### Methods inherited from class org.jbpm.casemgmt.api.event.CaseEvent

      `getCaseId, getUser`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CaseStartEvent

          public CaseStartEvent​(String user,
                                String caseId,
                                String deploymentId,
                                String caseDefinitionId,
                                CaseFileInstance caseFile)

    - #### CaseStartEvent

          public CaseStartEvent​(String user,
                                String caseId,
                                String deploymentId,
                                String caseDefinitionId,
                                CaseFileInstance caseFile,
                                Long processInstanceId)

  - ### Method Detail

    - #### getDeploymentId

          public String getDeploymentId()

      Returns deployment id that case belongs to

    - #### getCaseDefinitionId

          public String getCaseDefinitionId()

      Returns case definition id

    - #### getCaseFile

          public CaseFileInstance getCaseFile()

      Returns case file associated with the case
      Overrides:
        `getCaseFile` in class `CaseEvent`

    - #### getProcessInstanceId

          public Long getProcessInstanceId()

      Returns process instance id of the case process instance

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`