Package com.dnanexus

Class RunSpecification


  • public class RunSpecification
    extends Object
    A run specification for an applet.
    • Method Detail

      • newRunSpec

        public static RunSpecification.Builder newRunSpec​(String interpreter,
                                                          String code,
                                                          String distribution,
                                                          String release)
        Returns a builder initialized to create a run specification with the given interpreter, entry point code, distribution and release.
        Parameters:
        interpreter - interpreter name, e.g. "bash" or "python2.7"
        code - entry point code
        distribution - OS distribution, e.g. "Ubuntu"
        release - OS release, e.g. "14.04"
        Returns:
        Builder object
      • getCode

        public String getCode()
        Returns the entry point code for the applet.
        Returns:
        entry point code (in whatever language is specified by the interpreter)
      • getInterpreter

        public String getInterpreter()
        Returns the interpreter for the applet.
        Returns:
        the interpreter
      • getDistribution

        public String getDistribution()
        Returns the distribution for the applet.
        Returns:
        the distribution
      • getRelease

        public String getRelease()
        Returns the release for the applet.
        Returns:
        the release