Class GalaxyExportSample


  • public class GalaxyExportSample
    extends java.lang.Object
    UI Model to return sample links in the format that galaxy expects:
         [{
             "name" : "sample_name",
             "_links" : { "self" : { "href" : ""} },
             "_embedded" : {
                 "sample_files" : [
                    {
                        "_links" : {
                            "self" : {
                                "href" : "http://samples_href"
                            }
                        }
                    }, ...
                 ]
             }
         }]
     
    • Constructor Summary

      Constructors 
      Constructor Description
      GalaxyExportSample​(Sample sample, java.lang.Long projectId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.util.List<java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>>>> getEmbedded()
      Get a Map of all the file links
      java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> getLinks()
      Get the Map for this sample
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GalaxyExportSample

        public GalaxyExportSample​(Sample sample,
                                  java.lang.Long projectId)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getLinks

        public java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>> getLinks()
        Get the Map for this sample
        Returns:
        Map of links
      • getEmbedded

        public java.util.Map<java.lang.String,​java.util.List<java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.lang.String>>>>> getEmbedded()
        Get a Map of all the file links
        Returns:
        Map of file links