org.camunda.bpm.admin.impl.web
Class SetupResource
java.lang.Object
org.camunda.bpm.admin.impl.web.SetupResource
public class SetupResource
- extends Object
Jax RS resource allowing to perform the setup steps.
All methods of this class must throw Status.FORBIDDEN exception if
setup actions are unavailable.
- Author:
- Daniel Meyer
|
Field Summary |
protected javax.ws.rs.ext.Providers |
providers
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
providers
@Context
protected javax.ws.rs.ext.Providers providers
SetupResource
public SetupResource()
createInitialUser
public void createInitialUser(String processEngineName,
org.camunda.bpm.engine.rest.dto.identity.UserDto user)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
createInitialUserInternal
protected void createInitialUserInternal(String processEngineName,
org.camunda.bpm.engine.rest.dto.identity.UserDto user,
org.camunda.bpm.engine.ProcessEngine processEngine)
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
ensureCamundaAdminGroupExists
protected void ensureCamundaAdminGroupExists(org.camunda.bpm.engine.ProcessEngine processEngine)
ensureSetupAvailable
protected void ensureSetupAvailable(org.camunda.bpm.engine.ProcessEngine processEngine)
lookupProcessEngine
protected org.camunda.bpm.engine.ProcessEngine lookupProcessEngine(String engineName)
Copyright © 2018 camunda services GmbH. All rights reserved.