Package io.higson.runtime.model
Class Parameter
java.lang.Object
io.higson.runtime.model.Parameter
- Author:
- przemek hertel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final charDefault value forarraySeparatorfield. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntry(ParameterEntry entry) voidaddLevel(ParameterLevel parameterLevel) voidclose()Returns parameter's digest which is a hashed info about given parametergetInputLevel(String code) intgetInputLevelIndex(String code) getLevel(int ix) intNumber of ALL levelslonggetOutputLevel(int outIx) intNumber of OUT levelsbooleanvoidvoidsetEntries(Set<ParameterEntry> entries) voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.higson.runtime.model.Element
getName, getRegionVersionIdMethods inherited from interface io.higson.runtime.engine.core.parameter.Parameter
getArraySeparator, getEntries, getId, getInputLevels, getLevels, getMetadata, getName, isAiModelSource, isCacheable, isDictionary, isNullable, setAiSourceSession
-
Field Details
-
DEFAULT_ARRAY_SEPARATOR
public static final char DEFAULT_ARRAY_SEPARATORDefault value forarraySeparatorfield.- See Also:
-
-
Constructor Details
-
Parameter
public Parameter()
-
-
Method Details
-
postprocess
public void postprocess() -
hasExternalStorage
public boolean hasExternalStorage() -
getLevelCount
public int getLevelCount()Number of ALL levels- Returns:
- number of ALL levels
-
getOutputLevels
public int getOutputLevels()Number of OUT levels- Returns:
- number of OUT levels
-
toString
-
setEntries
-
addEntry
-
addLevel
-
getLevel
-
getOutputLevel
-
getInputLevelIndex
-
getInputLevel
-
getLoadedAtMillis
public long getLoadedAtMillis() -
setLoadedNow
public void setLoadedNow() -
getDigest
Description copied from interface:ParameterReturns parameter's digest which is a hashed info about given parameter -
close
public void close()
-