Class BuildStateExImpl

    • Method Detail

      • addBuildParameter

        public void addBuildParameter​(@NotNull
                                      String key,
                                      @NotNull
                                      String value)
      • addConfigurationParameter

        public void addConfigurationParameter​(@NotNull
                                              String key,
                                              @NotNull
                                              String value)
        Description copied from interface: BuildContext
        Adds build wide configuration parameter. Modifications will be available in all build runner states.
        Specified by:
        addConfigurationParameter in interface BuildContext
        Parameters:
        key - name
        value - value
      • addEnvironmentVariable

        public void addEnvironmentVariable​(@NotNull
                                           String key,
                                           @NotNull
                                           String value)
        Description copied from interface: BuildContext
        Adds build wide environment variable. Creates build parameters with Constants.ENV_PREFIX prefix

        Note, on Windows machines environment size can be limited.

        Modifications will be available in all build runner states.

        Specified by:
        addEnvironmentVariable in interface BuildContext
        Parameters:
        key - name, may be case sensitive or not depending on OS
        value - value
      • getCheckoutDirectory

        @NotNull
        public File getCheckoutDirectory()
        Description copied from interface: BuildContextEx
        Returns checkout directory: directory where checkout is performed
        Specified by:
        getCheckoutDirectory in interface BuildContextEx
        Returns:
        see above
      • getParametersResolver

        @NotNull
        public ValueResolver getParametersResolver()
        Description copied from interface: BuildContext
        Creates value resolver for parameters resolution in strings. The resolution rules are the same as for build parameters
        Specified by:
        getParametersResolver in interface BuildContext
        Returns:
        value resolver to perform resolution of all parameters references within string