Class CTFReleaseFile

  • All Implemented Interfaces:
    ObjectWithTitle

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

      • CTFReleaseFile

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

      • getDescription

        public String getDescription()
      • getMimeType

        public String getMimeType()
      • getFilename

        public String getFilename()
      • getSize

        public long getSize()
      • getURL

        public String getURL()
      • 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.