Interface VirtualContext


  • public interface VirtualContext
    Represents current current virtual context in the scope of build step.
    Since:
    2019.2
    • Method Detail

      • isVirtual

        boolean isVirtual()
        Returns:
        true if the given step will be run under a virtual environment
      • getTargetOSType

        @NotNull
        OSType getTargetOSType()
        Returns:
        actual OS type if the given step will be run under a virtual environment otherwise the agent's OS type
      • resolvePath

        @NotNull
        java.lang.String resolvePath​(@NotNull
                                     java.lang.String path)
        Converts an agent's path to a path in the current virtual context if it is needed otherwise returns original value of {@param path}