Class MContextVariable

  • All Implemented Interfaces:
    IArgument

    public class MContextVariable
    extends Argument
    • Field Detail

      • configinitialvalues

        protected java.util.Map<java.lang.String,​UnparsedExpression> configinitialvalues
        Initial values for configurations
    • Constructor Detail

      • MContextVariable

        public MContextVariable()
        Create a new argument.
      • MContextVariable

        public MContextVariable​(java.lang.String name,
                                java.lang.String description,
                                java.lang.String classname,
                                java.lang.String defaultvalue)
        Create a new argument.
    • Method Detail

      • removeValue

        public UnparsedExpression removeValue​(java.lang.String config)
        Removes the value for a specific configuration.
        Parameters:
        config - The configuration.
        Returns:
        The expression.
      • getValue

        public UnparsedExpression getValue​(java.lang.String config)
        Get the value for a specific configuration.
        Parameters:
        config - The configuration.
        Returns:
        The expression.
      • getConfigValue

        public UnparsedExpression getConfigValue​(java.lang.String config)
        Get the value for a specific configuration only.
        Parameters:
        config - The configuration.
        Returns:
        The expression.
      • setValue

        public void setValue​(java.lang.String config,
                             UnparsedExpression value)
        Set the value for a specific configuration.
        Parameters:
        config - The configuration.