public class DXApplet extends DXDataObject implements DXExecutable<DXJob>
 Although these bindings will allow you to create a simple applet from scratch, we encourage you
 to use the command-line tool dx build instead. See the API
 documentation for applets.
 
 The describe() method returns a RunSpecification object that does not have the
 "code" field populated; that is, RunSpecification.getCode() will return null.
 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DXApplet.Builder
Builder class for creating a new  
DXApplet object. | 
static class  | 
DXApplet.Describe
Contains metadata for an applet. 
 | 
DXDataObject.DescribeOptionscachedDescribe| Modifier and Type | Method and Description | 
|---|---|
DXApplet.Describe | 
describe()
Returns metadata about the data object. 
 | 
DXApplet.Describe | 
describe(DXDataObject.DescribeOptions options)
Returns metadata about the data object, specifying which optional fields are to be returned
 and what project to obtain project-specific metadata from. 
 | 
DXApplet.Describe | 
getCachedDescribe()
Returns metadata about the data object, like  
DXDataObject.describe(), but without
 making an API call. | 
static DXApplet | 
getInstance(String appletId)
Returns a  
DXApplet associated with an existing applet. | 
static DXApplet | 
getInstance(String appletId,
           DXContainer project)
Returns a  
DXApplet associated with an existing applet in a particular project or
 container. | 
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. | 
static DXApplet | 
getInstanceWithEnvironment(String appletId,
                          DXEnvironment env)
Returns a  
DXApplet associated with an existing applet using the specified
 environment. | 
static DXApplet.Builder | 
newApplet()
Returns a Builder object for creating a new  
DXApplet. | 
static DXApplet.Builder | 
newAppletWithEnvironment(DXEnvironment env)
Returns a Builder object for creating a new  
DXApplet using the specified environment. | 
ExecutableRunner<DXJob> | 
newRun()
Returns an object for creating a new run of this executable. 
 | 
addTags, addTypes, checkCachedDescribeAvailable, checkDXLinkFormat, close, closeAndWait, equals, getLinkAsJson, getProject, hashCode, listProjects, putAllProperties, putAllProperties, putProperty, removeProperty, removeTags, removeTypes, rename, setDetails, setVisibilityapiCallOnObject, apiCallOnObject, getId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdpublic static DXApplet getInstance(String appletId)
DXApplet associated with an existing applet.NullPointerException - If appletId is nullpublic static DXApplet getInstance(String appletId, DXContainer project)
DXApplet associated with an existing applet in a particular project or
 container.NullPointerException - If appletId or container is nullpublic static DXApplet getInstanceWithEnvironment(String appletId, DXContainer project, DXEnvironment env)
DXApplet associated with an existing applet in a particular project using
 the specified environment.NullPointerException - If appletId or container is nullpublic static DXApplet getInstanceWithEnvironment(String appletId, DXEnvironment env)
DXApplet associated with an existing applet using the specified
 environment.NullPointerException - If appletId is nullpublic static DXApplet.Builder newApplet()
DXApplet.public static DXApplet.Builder newAppletWithEnvironment(DXEnvironment env)
DXApplet using the specified environment.env - environment to be used for subsequent API callspublic DXApplet.Describe describe()
DXDataObject
 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.
 
describe in class DXDataObjectDescribe containing the data object's metadata.public DXApplet.Describe describe(DXDataObject.DescribeOptions options)
DXDataObjectdescribe in class DXDataObjectoptions - DescribeOptions object specifying how the describe request is
        to be made.Describe containing the data object's metadata.public DXApplet.Describe getCachedDescribe()
DXDataObjectDXDataObject.describe(), but without
 making an API call.
 
 This cached describe info is only available if this object appears in the result of a
 DXSearch.findDataObjects() call that specified
 DXSearch.FindDataObjectsRequestBuilder.includeDescribeOutput(), and the describe info
 that is returned reflects the state of the object at the time that the search was performed.
 
getCachedDescribe in class DXDataObjectDescribe containing the data object's metadatapublic ExecutableRunner<DXJob> newRun()
DXExecutablenewRun in interface DXExecutable<DXJob>Copyright © 2023. All Rights Reserved.