Class CTFDocument

  • All Implemented Interfaces:
    ObjectWithTitle

    public class CTFDocument
    extends CTFItem
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • CTFDocument

        public CTFDocument​(com.collabnet.ce.webservices.CTFObject parent,
                           org.json.simple.JSONObject data)
    • Method Detail

      • getDescription

        public String getDescription()
      • getURL

        public String getURL()
        Get the document's URL.
        Returns:
        an absolute URL to the document.
      • getId

        public String getId()
      • findByTitle

        protected <T extends ObjectWithTitle> T findByTitle​(List<T> list,
                                                            String title)
        Convenience method for a subtype to find an item in a collection by its title.