@Component public class SignavioConnector extends Connector
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SignavioConnector.Command<T>
Command to be executed in
executeCommand(org.camunda.bpm.cycle.connector.signavio.SignavioConnector.Command). |
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_KEY_PROXY_PASSWORD |
static String |
CONFIG_KEY_PROXY_URL |
static String |
CONFIG_KEY_PROXY_USERNAME |
static String |
CONFIG_KEY_SIGNAVIO_BASE_URL |
| Constructor and Description |
|---|
SignavioConnector() |
getConfiguration, getId, init, setConfigurationpublic static final String CONFIG_KEY_SIGNAVIO_BASE_URL
public static final String CONFIG_KEY_PROXY_URL
public static final String CONFIG_KEY_PROXY_USERNAME
public static final String CONFIG_KEY_PROXY_PASSWORD
public boolean needsLogin()
needsLogin in class Connectorpublic void init(ConnectorConfiguration config)
protected String getDefaultCommitMessage()
public void deleteNode(ConnectorNode node, String message)
deleteNode in class Connectorpublic ConnectorNode createNode(String parentId, String label, ConnectorNodeType type, String message)
createNode in class Connectorpublic List<ConnectorNode> getChildren(ConnectorNode parent)
getChildren in class Connectorpublic InputStream getContent(ConnectorNode node)
ConnectorConnectorNode.getType().getContent in class Connectorpublic ConnectorNode getRoot()
public ContentInformation updateContent(ConnectorNode node, InputStream newContent, String message) throws Exception
updateContent in class ConnectorExceptionpublic ContentInformation getContentInformation(ConnectorNode node)
ConnectorContentInformation for the given connector node.
May never return null or throw an exception.getContentInformation in class Connectorpublic ConnectorNode getPrivateFolder()
protected ConnectorNode importContent(ConnectorNode parent, String content) throws Exception
Exceptionprotected ConnectorNode importContent(ConnectorNode parent, String content, String modelName) throws Exception
Exceptionpublic List<ConnectorNode> importSignavioArchive(ConnectorNode parentFolder, String signavioArchive) throws Exception
Exceptionprotected SignavioClient getSignavioClient()
public ConnectorNode getNode(String id)
ConnectorConnectorNode to the assigned id. If
a ConnectorNode could not be found, the value null
will be returned.getNode in class Connectorid - Represents the id of a ConnectorNode to search.ConnectorNode to the assigned id or null if no
ConnectorNode found.public boolean isSupportsCommitMessage()
isSupportsCommitMessage in class Connectorprotected <T> T executeCommand(SignavioConnector.Command<T> command)
T - command - Copyright © 2015. All rights reserved.