Package com.dnanexus

Class DXApplet

    • Method Detail

      • getInstance

        public static DXApplet getInstance​(String appletId)
        Returns a DXApplet associated with an existing applet.
        Throws:
        NullPointerException - If appletId is null
      • getInstance

        public static DXApplet getInstance​(String appletId,
                                           DXContainer project)
        Returns a DXApplet associated with an existing applet in a particular project or container.
        Throws:
        NullPointerException - If appletId or container is null
      • getInstanceWithEnvironment

        public static DXApplet getInstanceWithEnvironment​(String appletId,
                                                          DXContainer project,
                                                          DXEnvironment env)
        Returns a DXApplet associated with an existing applet in a particular project using the specified environment.
        Throws:
        NullPointerException - If appletId or container is null
      • getInstanceWithEnvironment

        public static DXApplet getInstanceWithEnvironment​(String appletId,
                                                          DXEnvironment env)
        Returns a DXApplet associated with an existing applet using the specified environment.
        Throws:
        NullPointerException - If appletId is null
      • newApplet

        public static DXApplet.Builder newApplet()
        Returns a Builder object for creating a new DXApplet.
        Returns:
        Builder object
      • newAppletWithEnvironment

        public static DXApplet.Builder newAppletWithEnvironment​(DXEnvironment env)
        Returns a Builder object for creating a new DXApplet using the specified environment.
        Parameters:
        env - environment to be used for subsequent API calls
        Returns:
        Builder object
      • describe

        public DXApplet.Describe describe()
        Description copied from class: DXDataObject
        Returns metadata about the data object.

        The properties and details fields will not be returned, and any project-specific metadata fields will be selected from an arbitrary project in which the requesting user has access to this object. To change either of these aspects of this behavior, use DXDataObject.describe(DescribeOptions) instead.

        Overrides:
        describe in class DXDataObject
        Returns:
        a Describe containing the data object's metadata.
      • describe

        public DXApplet.Describe describe​(DXDataObject.DescribeOptions options)
        Description copied from class: DXDataObject
        Returns metadata about the data object, specifying which optional fields are to be returned and what project to obtain project-specific metadata from.
        Overrides:
        describe in class DXDataObject
        Parameters:
        options - DescribeOptions object specifying how the describe request is to be made.
        Returns:
        a Describe containing the data object's metadata.