@ConfigProperty( name= LOG_DIRECTORY_PROPERTY, description="If you turn logging on, use this property to set the log directory. If not specified a logs directory will be created in the same directory as the feature file. May be an absolute path or a path relative to the working directory", mandatory = false ) public void setLogDirectory(String logDirectory) { this.logDirectory = logDirectory; }
@ConfigProperty( name= APPEND_TO_LOGS_PROPERTY, description="Whether to append to or overwrite log files", defaultValue = "false", validationPattern = "true|false" ) public void setAppendToLogs(boolean appendToLogs) { this.appendToLogs = appendToLogs; }
@ConfigProperty( name= PROCESS_CHECK_DELAY_PROPERTY, description="Milliseconds after which to check started process is still running or fail the start process step. Longer values add better detection of immediate process start failures but incur an increased delay before subsequent steps run", defaultValue = "500", validationPattern = "(-?)\\d+" ) public void setProcessCheckDelay(int processCheckDelay) { this.processCheckDelay = processCheckDelay; }
@ConfigProperty( name="protocol", description="Protocol to make connection (only JMX supported at present)", defaultValue = "jmx", validationPattern = "jmx" ) public void setProtocol(String protocol) { this.protocol = protocol; }
@ConfigProperty( name = "remoteWebDriver.browserType", description = "If using REMOTE_WEB_DRIVER, a value to pass to the remote selenium web driver to request a browser type, e.g. chrome, firefox, safari", defaultValue = "chrome", mandatory = false ) public void setRemoteWebDriverBrowserType(String remoteWebDriverBrowserType) { this.remoteWebDriverBrowserType = remoteWebDriverBrowserType; }
@ConfigProperty( name= JRE_PROPERTY, description="Path to the JRE to be used when executing a Java process. If not set, the Chorus interpreter's JVM will be used", mandatory = false ) public void setJre(String jre) { this.jre = jre; }
@ConfigProperty( name= STD_OUT_MODE_PROPERTY, description="What do to with standard output stream from started process, one of INLINE (combine with interpreter stdout), FILE (write output to file). Other values are deprecated", validationPattern = "(?i)FILE|INLINE|CAPTURED|CAPTUREDWITHLOG", mandatory = false //logging prop may be set instead ) public void setStdOutMode(OutputMode stdOutMode) { this.stdOutMode = stdOutMode; }
@ConfigProperty( name= ENABLED_PROPERTY, description="This property can be set to true to disable process start up when running in certain profiles", defaultValue = "true", validationPattern = "true|false" ) public void setEnabled(boolean enabled) { this.enabled = enabled; }
@ConfigProperty( name = "doubleProperty", description = "doubleProperty" ) public void setDoubleProperty(Double doubleProperty) { this.doubleProperty = doubleProperty; }
@ConfigProperty( name = "booleanProperty", description = "booleanProperty" ) public void setBooleanProperty(Boolean booleanProperty) { this.booleanProperty = booleanProperty; }
@ConfigProperty( name = "doubleProperty", description = "Double Property", defaultValue = "1.23" ) public void setDoubleProperty(Double d) {}
@ConfigProperty( name = "floatProperty", description = "Float Property", defaultValue = "2.34" ) public void setFloatProperty(Float f) {}
@ConfigProperty( name = "badDefaultProperty", description = "Bad Default Property", defaultValue = "wibble" ) public void setMyProperty(Integer goodArgument) {} }
@ConfigProperty( name = "stringProperty", description = "Simple String Property" ) public void setStringProperty(String stringProperty) { this.stringProperty = stringProperty; }
@ConfigProperty( name = "doubleProperty", description = "doubleProperty" ) public void setDoubleProperty(double doubleProperty) { this.doubleProperty = doubleProperty; }
@ConfigProperty( name = "charProperty", description = "Character Property", defaultValue = "C" ) public void setCharacterProperty(Character f) {} }
@ConfigProperty( name = "enumField", description = "Enum value" ) public void setEnumField(Scope scope) {} }
@ConfigProperty( name = "stringField", description = "String Field", validationPattern = "test.*" ) public void setStringField(String scope) {} }
@ConfigProperty( name = "enumField", description = "Enum value" ) public void setEnumField(Scope scope) { this.scope = scope; }
@ConfigProperty( name = "enumFieldCaseInsensitive", description = "Enum value" ) public void setEnumFieldCaseInsensitive(Scope scope) { this.scopeCaseInsensitive = scope; } }