Class ExpressionsFunctionsStatement

    • Constructor Detail

      • ExpressionsFunctionsStatement

        public ExpressionsFunctionsStatement​(String nameEn,
                                             String nameRu,
                                             String templateEn,
                                             String templateRu)
        Constructor
        Parameters:
        nameEn - English name, can't be null
        nameRu - Russian name, can't be null
        templateEn - English template string, can't be null
        templateRu - Russian template string, can't be null
      • ExpressionsFunctionsStatement

        public ExpressionsFunctionsStatement​(String[] names,
                                             String templateEn,
                                             String templateRu)
        Constructor
        Parameters:
        names - English and Russian names, can't be null
        templateEn - English template string, can't be null
        templateRu - Russian template string, can't be null
      • ExpressionsFunctionsStatement

        public ExpressionsFunctionsStatement​(String[] names,
                                             String[] templates)
        Constructor
        Parameters:
        names - English and Russian names, can't be null
        templates - English and Russian, can't be null
      • ExpressionsFunctionsStatement

        public ExpressionsFunctionsStatement​(String name)
        Constructor
        Parameters:
        name - English name, can't be null
    • Method Detail

      • getName

        public String getName​(ScriptVariant scriptVariant)
        Get name for script variant
        Parameters:
        scriptVariant - script variant, can't be null
        Returns:
        name for script variant, never null
      • getTemplate

        public String getTemplate​(ScriptVariant scriptVariant)
        Get template string
        Parameters:
        scriptVariant - script variant, can't be null
        Returns:
        template string, never null