Class CustomWrapperInputParameter
java.lang.Object
com.denodo.vdb.engine.customwrapper.CustomWrapperInputParameter
Defines a Custom Wrapper input parameter. Input parameters allow user-defined
configuration values to be passed to a Custom Wrapper.
-
Constructor Summary
ConstructorsConstructorDescriptionCustomWrapperInputParameter(String name, boolean isMandatory) Deprecated.This method is deprecated since Denodo 5.0.CustomWrapperInputParameter(String name, boolean isMandatory, boolean isHidden) Deprecated.This method is deprecated since Denodo 5.0.CustomWrapperInputParameter(String name, String description, boolean isMandatory, boolean isEnvDependent, CustomWrapperInputParameterType type) Constructs aCustomWrapperInputParameterspecifying a name, a description, whether it is mandatory or not and aCustomWrapperInputParameterTypeCustomWrapperInputParameter(String name, String description, boolean isMandatory, CustomWrapperInputParameterType type) Constructs aCustomWrapperInputParameterspecifying a name, a description, whether it is mandatory or not and aCustomWrapperInputParameterType -
Method Summary
Modifier and TypeMethodDescriptionReturns this input parameter's descriptiongetName()Returns this input parameter's namegetType()Returns this input parameter's typebooleanReturnstrueif the parameter is dependent on the environmentfalseotherwise.booleanisHidden()Returnstrueif the parameter is hiddenfalseotherwise.booleanReturnstrueif this input parameter is mandatory,falseotherwise.voidsetEnvDependent(boolean isEnvDependent) Sets whether this input parameter is dependent on the environment or not.voidsetHidden(boolean hidden) Sets whether this input parameter is hidden or not.voidsetMandatory(boolean isMandatory) Sets whether this input parameter is mandatory or not.voidSets this input parameter's name
-
Constructor Details
-
CustomWrapperInputParameter
Deprecated.This method is deprecated since Denodo 5.0. Instead, useCustomWrapperInputParameter(String, String, boolean, CustomWrapperInputParameterType)Constructs aCustomWrapperInputParameterspecifying a name and whether it is mandatory or not. TheCustomWrapperInputParameterwill accept arbitrary long text values.- Parameters:
name- the name for this input parameter.isMandatory-trueif this input parameter is mandatory,falseotherwise.
-
CustomWrapperInputParameter
Deprecated.This method is deprecated since Denodo 5.0. Instead, useCustomWrapperInputParameter(String, String, boolean, CustomWrapperInputParameterType)Constructs aCustomWrapperInputParameterspecifying a name, whether it is mandatory or not and whether it is hidden or not. In case it would not be hidden, theCustomWrapperInputParameterwill accept arbitrary long text values.- Parameters:
name- the name for this input parameter.isMandatory-trueif this input parameter is mandatory,falseotherwise.isHidden-true, if the parameter is sensitive and should be hidden
-
CustomWrapperInputParameter
public CustomWrapperInputParameter(String name, String description, boolean isMandatory, CustomWrapperInputParameterType type) Constructs aCustomWrapperInputParameterspecifying a name, a description, whether it is mandatory or not and aCustomWrapperInputParameterType- Parameters:
name- the name for this input parameter.description- a description that will appear as a tooltip in the Admin Tool.isMandatory-trueif this input parameter is mandatory,falseotherwise.type- theCustomWrapperInputParameterTypeof this input parameter. The type of the parameter limits the values accepted for the input parameter. According to this type, the Admin Tool will represent the input parameter with an appropriate visual component.- See Also:
-
CustomWrapperInputParameter
public CustomWrapperInputParameter(String name, String description, boolean isMandatory, boolean isEnvDependent, CustomWrapperInputParameterType type) Constructs aCustomWrapperInputParameterspecifying a name, a description, whether it is mandatory or not and aCustomWrapperInputParameterType- Parameters:
name- the name for this input parameter.description- a description that will appear as a tooltip in the Admin Tool.isMandatory-trueif this input parameter is mandatory,falseotherwise.isEnvDependent-trueif this input parameter is dependent on the environment,falseotherwise.type- theCustomWrapperInputParameterTypeof this input parameter. The type of the parameter limits the values accepted for the input parameter. According to this type, the Admin Tool will represent the input parameter with an appropriate visual component.- See Also:
-
-
Method Details
-
getName
Returns this input parameter's name- Returns:
- this input parameter's name
-
setName
Sets this input parameter's name- Parameters:
name- input parameter's name
-
isMandatory
public boolean isMandatory()Returnstrueif this input parameter is mandatory,falseotherwise.- Returns:
trueif this input parameter is mandatory,falseotherwise.
-
setMandatory
public void setMandatory(boolean isMandatory) Sets whether this input parameter is mandatory or not.- Parameters:
isMandatory-trueif this input parameter is mandatory,falseotherwise.
-
isEnvDependent
public boolean isEnvDependent()Returnstrueif the parameter is dependent on the environmentfalseotherwise.- Returns:
trueif the parameter is dependent on the environmentfalseotherwise.
-
setEnvDependent
public void setEnvDependent(boolean isEnvDependent) Sets whether this input parameter is dependent on the environment or not.- Parameters:
isEnvDependent-trueis dependent on the environment,falseotherwise.
-
isHidden
public boolean isHidden()Returnstrueif the parameter is hiddenfalseotherwise.- Returns:
trueif the parameter is hiddenfalseotherwise.
-
setHidden
public void setHidden(boolean hidden) Sets whether this input parameter is hidden or not.- Parameters:
hidden-trueif the parameter is sensitive and should be hidden,falseotherwise.
-
getDescription
Returns this input parameter's description- Returns:
- this input parameter's description
-
getType
Returns this input parameter's type- Returns:
- this input parameter's type
-