Package net.ocheyedan.wrk.trello

Examples of net.ocheyedan.wrk.trello.Card


                }
                wrkIds.put(wrkId, String.format("l:%s", list.getId()));
                Output.print("  ^b^%s^r^ ^black^| %s^r^", list.getName(), wrkId);
                return wrkIds;
            case Card:
                Card card = RestTemplate.post(url, new TypeReference<Card>() { });
                if (card == null) {
                    Output.print("^red^Invalid id or insufficient privileges.^r^");
                    break;
                }
                String labels = Cards.buildLabel(card.getLabels());
                wrkIds.put(wrkId, String.format("c:%s", card.getId()));
                Output.print("  ^b^%s^r^%s ^black^| %s^r^", card.getName(), labels, wrkId);
                Output.print("    ^black^%s^r^", Cards.getPrettyUrl(card));
                return wrkIds;
        }
        return Collections.emptyMap();
    }
View Full Code Here

TOP

Related Classes of net.ocheyedan.wrk.trello.Card

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.