Enum ProcessExpressions

    • Method Detail

      • values

        public static ProcessExpressions[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ProcessExpressions c : ProcessExpressions.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ProcessExpressions valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • registerCallActivityMock

        public static CallActivityMock registerCallActivityMock​(String processDefinitionKey,
                                                                CallActivityMock.MockedModelConfigurer mockedModelConfigurer)
        Registers a call activity mock for the given process definition key.
        Parameters:
        processDefinitionKey - process definition key of the called process
        mockedModelConfigurer - configurer for adjusting the attributes of the mocked model
        Returns:
        A mock for the called process (its behaviour should be configured via further calls)
      • registerCallActivityMock

        public static CallActivityMock registerCallActivityMock​(String processDefinitionKey)
        Registers a call activity mock for the given process definition key (without the possibility to adjust the properties of the mocked model).
        Parameters:
        processDefinitionKey - process definition key of the called process
        Returns:
        A mock for the called process (its behaviour should be configured via further calls)
      • mockMessageCorrelation

        public static org.camunda.bpm.engine.runtime.MessageCorrelationBuilder mockMessageCorrelation​(org.camunda.bpm.engine.RuntimeService serviceMock,
                                                                                                      String messageName)
        Registers the mock for message correlation.
        Parameters:
        serviceMock - runtime service mock.
        messageName - name of the message to mock message correlation for.
        Returns:
        mocked builder
      • mockMessageCorrelation

        public static org.camunda.bpm.engine.runtime.MessageCorrelationBuilder mockMessageCorrelation​(org.camunda.bpm.engine.RuntimeService serviceMock)
        Registers the mock for message correlation.
        Parameters:
        serviceMock - runtime service mock.
        Returns:
        mocked builder