Class EyesRunner

    • Field Detail

      • commandExecutor

        protected CommandExecutor commandExecutor
        command executor
      • managerRef

        protected Reference managerRef
        this reference has to be used in order to perform manager related actions (EyesManager.openEyes, EyesManager.closeAllEyes)
      • BASE_AGENT_ID

        protected static String BASE_AGENT_ID
        name of the client sdk
      • VERSION

        protected static String VERSION
        version of the client sdk
      • PROTOCOL

        protected static String PROTOCOL
        the protocol to be used
      • COMMANDS

        protected static String[] COMMANDS
        list of commands sent to the server.
      • logger

        protected com.applitools.eyes.Logger logger
    • Method Detail

      • runServer

        protected void runServer​(String baseAgentId,
                                 String version)
      • getAllTestResults

        public TestResultsSummary getAllTestResults​(boolean shouldThrowException)
      • setLogHandler

        public void setLogHandler​(com.applitools.eyes.LogHandler logHandler)
      • logSessionResultsAndThrowException

        public void logSessionResultsAndThrowException​(boolean throwEx,
                                                       TestResults results)
      • setDontCloseBatches

        public void setDontCloseBatches​(boolean dontCloseBatches)
      • isDontCloseBatches

        public Boolean isDontCloseBatches()
      • setRemoveDuplicateTests

        public void setRemoveDuplicateTests​(Boolean removeDuplicateTests)
      • getRemoveDuplicateTests

        public Boolean getRemoveDuplicateTests()
      • getLogger

        public com.applitools.eyes.Logger getLogger()
      • setProxy

        public void setProxy​(com.applitools.eyes.AbstractProxySettings proxySettings)
      • getProxy

        public com.applitools.eyes.AbstractProxySettings getProxy()
      • getAgentId

        public String getAgentId()
      • getManagerRef

        public Reference getManagerRef()
        manager reference
      • setManagerRef

        public void setManagerRef​(Reference managerRef)
        Parameters:
        managerRef - The manager reference
      • getCommandExecutor

        public CommandExecutor getCommandExecutor()
        command executor
      • setCommandExecutor

        public void setCommandExecutor​(CommandExecutor commandExecutor)
        Parameters:
        commandExecutor - The command executor
      • getRefer

        protected Refer getRefer()