Package org.molgenis.script.core
Class Script
- java.lang.Object
-
- org.molgenis.data.support.StaticEntity
-
- org.molgenis.script.core.Script
-
- All Implemented Interfaces:
Entity,org.molgenis.util.i18n.Identifiable
public class Script extends StaticEntity
-
-
Constructor Summary
Constructors Constructor Description Script(String name, EntityType entityType)Script(Entity entity)Script(EntityType entityType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()StringgetName()List<ScriptParameter>getParameters()StringgetResultFileExtension()ScriptTypegetScriptType()booleanisGenerateToken()voidsetContent(String content)voidsetGenerateToken(Boolean generateToken)voidsetName(String name)voidsetResultFileExtension(String resultFileExtension)voidsetScriptType(ScriptType scriptType)-
Methods inherited from class org.molgenis.data.support.StaticEntity
get, getAttributeNames, getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getEntityType, getIdValue, getInstant, getInt, getLabelValue, getLocalDate, getLong, getString, init, set, set, setIdValue, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.molgenis.data.Entity
get, getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getInstant, getInt, getLocalDate, getLong, getString, set
-
-
-
-
Constructor Detail
-
Script
public Script(Entity entity)
-
Script
public Script(EntityType entityType)
-
Script
public Script(String name, EntityType entityType)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getScriptType
public ScriptType getScriptType()
-
setScriptType
public void setScriptType(ScriptType scriptType)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getResultFileExtension
@Nullable @CheckForNull public String getResultFileExtension()
-
setResultFileExtension
public void setResultFileExtension(String resultFileExtension)
-
getParameters
public List<ScriptParameter> getParameters()
-
isGenerateToken
public boolean isGenerateToken()
-
setGenerateToken
public void setGenerateToken(Boolean generateToken)
-
-