class BambooPlugin implements VisuwallPlugin<BambooConnection> {

    @Override
    public BambooConnection getConnection(URL url, Map<String, String> properties) {
        BambooConnection connection = new BambooConnection();
        String login = "";
        String password = "";
        if (properties != null) {
            login = properties.get("login");
            password = properties.get("password");
        }
        connection.connect(url.toString(), login, password);
        return connection;
    }

}