Package org.camunda.bpm.engine.rest.helper

Examples of org.camunda.bpm.engine.rest.helper.MockDefinitionBuilder


  }

  private List<ProcessDefinition> createIncompleteMockDefinitions() {
    List<ProcessDefinition> mocks = new ArrayList<ProcessDefinition>();

    MockDefinitionBuilder builder = new MockDefinitionBuilder();
    ProcessDefinition mockDefinition =
        builder.id(MockProvider.EXAMPLE_PROCESS_DEFINITION_ID)
          .category(MockProvider.EXAMPLE_PROCESS_DEFINITION_CATEGORY)
          .name(MockProvider.EXAMPLE_PROCESS_DEFINITION_NAME)
          .key(MockProvider.EXAMPLE_PROCESS_DEFINITION_KEY)
          .suspended(MockProvider.EXAMPLE_PROCESS_DEFINITION_IS_SUSPENDED)
          .version(MockProvider.EXAMPLE_PROCESS_DEFINITION_VERSION).build();
View Full Code Here

TOP

Related Classes of org.camunda.bpm.engine.rest.helper.MockDefinitionBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.