public static class DXApplet.Builder extends DXDataObject.Builder<DXApplet.Builder,DXApplet>
DXApplet object. To obtain an instance, call
DXApplet.newApplet().createParents, details, env, folder, hidden, name, project, properties, tags, types| Modifier and Type | Method and Description |
|---|---|
DXApplet |
build()
Creates the applet.
|
protected void |
checkAndFixParameters()
Ensures that the project was either explicitly set or that the environment specifies a
workspace, and that the run specification is provided.
|
protected DXApplet.Builder |
getThisInstance()
Returns the builder object.
|
DXApplet.Builder |
setDescription(String description)
Sets the description of the applet to be created.
|
DXApplet.Builder |
setInputSpecification(List<? extends InputParameter> inputSpec)
Sets the input specification of the applet to be created.
|
DXApplet.Builder |
setOutputSpecification(List<? extends OutputParameter> outputSpec)
Sets the output specification of the applet to be created.
|
DXApplet.Builder |
setRunSpecification(RunSpecification runSpec)
Sets the run specification of the applet to be created.
|
DXApplet.Builder |
setSummary(String summary)
Sets the summary of the applet to be created.
|
DXApplet.Builder |
setTitle(String title)
Sets the title of the applet to be created.
|
addTags, addTypes, getNewObjectId, putAllProperties, putProperty, setDetails, setFolder, setFolder, setName, setProject, setVisibilitypublic DXApplet build()
build in class DXDataObject.Builder<DXApplet.Builder,DXApplet>DXApplet object corresponding to the newly created objectprotected void checkAndFixParameters()
checkAndFixParameters in class DXDataObject.Builder<DXApplet.Builder,DXApplet>protected DXApplet.Builder getThisInstance()
DXDataObject.BuilderThis abstract method is implemented by the Builder methods so that common methods can get an instance of the subclass for chaining purposes.
getThisInstance in class DXDataObject.Builder<DXApplet.Builder,DXApplet>public DXApplet.Builder setDescription(String description)
description - applet descriptionBuilder objectpublic DXApplet.Builder setInputSpecification(List<? extends InputParameter> inputSpec)
inputSpec - input specificationBuilder objectpublic DXApplet.Builder setOutputSpecification(List<? extends OutputParameter> outputSpec)
outputSpec - output specificationBuilder objectpublic DXApplet.Builder setRunSpecification(RunSpecification runSpec)
runSpec - applet run specificationBuilder objectpublic DXApplet.Builder setSummary(String summary)
summary - applet summaryBuilder objectpublic DXApplet.Builder setTitle(String title)
title - applet titleBuilder objectCopyright © 2023. All Rights Reserved.