Class ApplicationStartupVerifier.StartupConfig

java.lang.Object
io.github.jspinak.brobot.startup.verification.ApplicationStartupVerifier.StartupConfig
Enclosing class:
ApplicationStartupVerifier

public static class ApplicationStartupVerifier.StartupConfig extends Object
Configuration for application startup verification
  • Method Details

    • builder

    • getPrimaryImagePath

      public String getPrimaryImagePath()
      Primary image path to use
    • getFallbackImagePaths

      public List<String> getFallbackImagePaths()
      Fallback paths to search if primary path doesn't exist
    • getRequiredImages

      public List<String> getRequiredImages()
      Required images that must be present
    • isClearStatesBeforeVerification

      public boolean isClearStatesBeforeVerification()
      Whether to clear active states before verification
    • getUiStabilizationDelay

      public double getUiStabilizationDelay()
      Seconds to wait for UI to stabilize before state verification
    • getExpectedStates

      public List<String> getExpectedStates()
      Expected states to find (by name)
    • getExpectedStateEnums

      public List<StateEnum> getExpectedStateEnums()
      Expected states to find (by enum)
    • isThrowOnFailure

      public boolean isThrowOnFailure()
      Whether to throw exception on verification failure
    • isRunDiagnosticsOnFailure

      public boolean isRunDiagnosticsOnFailure()
      Whether to run diagnostics on failure
    • setPrimaryImagePath

      public void setPrimaryImagePath(String primaryImagePath)
      Primary image path to use
    • setFallbackImagePaths

      public void setFallbackImagePaths(List<String> fallbackImagePaths)
      Fallback paths to search if primary path doesn't exist
    • setRequiredImages

      public void setRequiredImages(List<String> requiredImages)
      Required images that must be present
    • setClearStatesBeforeVerification

      public void setClearStatesBeforeVerification(boolean clearStatesBeforeVerification)
      Whether to clear active states before verification
    • setUiStabilizationDelay

      public void setUiStabilizationDelay(double uiStabilizationDelay)
      Seconds to wait for UI to stabilize before state verification
    • setExpectedStates

      public void setExpectedStates(List<String> expectedStates)
      Expected states to find (by name)
    • setExpectedStateEnums

      public void setExpectedStateEnums(List<StateEnum> expectedStateEnums)
      Expected states to find (by enum)
    • setThrowOnFailure

      public void setThrowOnFailure(boolean throwOnFailure)
      Whether to throw exception on verification failure
    • setRunDiagnosticsOnFailure

      public void setRunDiagnosticsOnFailure(boolean runDiagnosticsOnFailure)
      Whether to run diagnostics on failure
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object