@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, setConfiguration
public 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 Connector
public void init(ConnectorConfiguration config)
protected String getDefaultCommitMessage()
public void deleteNode(ConnectorNode node, String message)
deleteNode
in class Connector
public ConnectorNode createNode(String parentId, String label, ConnectorNodeType type, String message)
createNode
in class Connector
public List<ConnectorNode> getChildren(ConnectorNode parent)
getChildren
in class Connector
public InputStream getContent(ConnectorNode node)
Connector
ConnectorNode.getType()
.getContent
in class Connector
public ConnectorNode getRoot()
public ContentInformation updateContent(ConnectorNode node, InputStream newContent, String message) throws Exception
updateContent
in class Connector
Exception
public ContentInformation getContentInformation(ConnectorNode node)
Connector
ContentInformation
for the given connector node.
May never return null or throw an exception.getContentInformation
in class Connector
public ConnectorNode getPrivateFolder()
protected ConnectorNode importContent(ConnectorNode parent, String content) throws Exception
Exception
protected ConnectorNode importContent(ConnectorNode parent, String content, String modelName) throws Exception
Exception
public List<ConnectorNode> importSignavioArchive(ConnectorNode parentFolder, String signavioArchive) throws Exception
Exception
protected SignavioClient getSignavioClient()
public ConnectorNode getNode(String id)
Connector
ConnectorNode
to the assigned id
. If
a ConnectorNode
could not be found, the value null
will be returned.getNode
in class Connector
id
- 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 Connector
protected <T> T executeCommand(SignavioConnector.Command<T> command)
T
- command
- Copyright © 2015. All rights reserved.