Package org.molgenis.script.core
Class ScriptMetadata
- java.lang.Object
-
- org.molgenis.data.support.StaticEntity
-
- org.molgenis.data.meta.model.EntityType
-
- org.molgenis.data.meta.SystemEntityType
-
- org.molgenis.script.core.ScriptMetadata
-
- All Implemented Interfaces:
Entity,org.molgenis.util.i18n.Identifiable,org.molgenis.util.i18n.Labeled
@Component public class ScriptMetadata extends SystemEntityType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.molgenis.data.meta.model.EntityType
EntityType.AttributeCopyMode, EntityType.AttributeRole
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTENTThe freemarker codestatic StringGENERATE_TOKENIf true a security token is generated for the script.static StringNAMEstatic StringPARAMETERSThe names of the parameters required by this scriptstatic StringRESULT_FILE_EXTENSIONIf the script generates an outputfile, this is it's file extension (outputfile available as ${outputFile})static StringSCRIPTstatic StringTYPEThe ScriptType like r-
Fields inherited from class org.molgenis.data.meta.SystemEntityType
UNIFIED_IDENTIFIER_REGEX, UNIFIED_IDENTIFIER_REGEX_JS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()-
Methods inherited from class org.molgenis.data.meta.SystemEntityType
addAttribute, bootstrap, get, getDependencies, getId, getIdValue, getString, isRowLevelSecured, setAttributeFactory, setIdGenerator, setRowLevelSecured
-
Methods inherited from class org.molgenis.data.meta.model.EntityType
addAttribute, addAttributes, addTag, deepCopyAttributes, getAllAttributes, getAtomicAttributes, getAttribute, getAttributeByName, getAttributeNames, getAttributes, getBackend, getDescription, getDescription, getExtends, getIdAttribute, getIndexingDepth, getInversedByAttributes, getLabel, getLabel, getLabelAttribute, getLabelAttribute, getLookupAttribute, getLookupAttributes, getMappedByAttributes, getOwnAllAttributes, getOwnAtomicAttributes, getOwnAttributeById, getOwnAttributes, getOwnIdAttribute, getOwnLabelAttribute, getOwnLabelAttribute, getOwnLookupAttributes, getOwnMappedByAttributes, getPackage, getTags, hasAttributeWithExpression, hasBidirectionalAttributes, hasInversedByAttributes, hasMappedByAttributes, isAbstract, newInstance, newInstance, removeAttribute, removeTag, set, setAbstract, setAttributeRoles, setBackend, setDefaultValues, setDescription, setDescription, setExtends, setId, setIndexingDepth, setLabel, setLabel, setOwnAllAttributes, setPackage, setTags, toString
-
Methods inherited from class org.molgenis.data.support.StaticEntity
getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getEntityType, getInstant, getInt, getLabelValue, getLocalDate, getLong, init, set, setIdValue
-
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
-
-
-
-
Field Detail
-
SCRIPT
public static final String SCRIPT
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
The ScriptType like r- See Also:
- Constant Field Values
-
CONTENT
public static final String CONTENT
The freemarker code- See Also:
- Constant Field Values
-
GENERATE_TOKEN
public static final String GENERATE_TOKEN
If true a security token is generated for the script. (available as ${molgenisToken})- See Also:
- Constant Field Values
-
RESULT_FILE_EXTENSION
public static final String RESULT_FILE_EXTENSION
If the script generates an outputfile, this is it's file extension (outputfile available as ${outputFile})- See Also:
- Constant Field Values
-
PARAMETERS
public static final String PARAMETERS
The names of the parameters required by this script- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init()
- Specified by:
initin classSystemEntityType
-
-