@Test public void testGetPathList() { String[] args = new String[] {"-templatedirs=path1,path2"}; Settings settings = new Settings(args); assertThat( settings.getQuestionTemplateDirs(), contains(Paths.get("path1"), Paths.get("path2"))); }
public List<Path> getQuestionTemplateDirs() { return _questionTemplateDirs; }
Settings extends BaseSettings { public List<Path> getQuestionTemplateDirs() { return _questionTemplateDirs; } }
Settings extends BaseSettings { public List<Path> getQuestionTemplateDirs() { return _questionTemplateDirs; } Settings(String[] args); }
Settings extends BaseSettings { public List<Path> getQuestionTemplateDirs() { return _questionTemplateDirs; } Settings(String[] args); Authorizer.Type getAuthorizationType(); Path getContainersLocation(); long getDbAuthorizerCacheExpiryMs(); String getDbAuthorizerConnString(); String getDriverClass(); Path getFileAuthorizerPermsFile(); Path getFileAuthorizerRootDir(); Path getFileAuthorizerUsersFile(); String getLogFile(); String getLogLevel(); long getPeriodAssignWorkMs(); long getPeriodCheckWorkMs(); long getPeriodWorkerStatusRefreshMs(); String getPoolBindHost(); String getQueueCompletedWork(); String getQueueIncompleteWork(); WorkQueue.Type getQueueType(); String getServiceName(); int getServicePoolPort(); int getServiceWorkPort(); int getServiceWorkV2Port(); boolean getSslPoolDisable(); Path getSslPoolKeystoreFile(); String getSslPoolKeystorePassword(); boolean getSslPoolTrustAllCerts(); Path getSslPoolTruststoreFile(); String getSslPoolTruststorePassword(); List<Path> getQuestionTemplateDirs(); boolean getSslWorkDisable(); Path getSslWorkKeystoreFile(); String getSslWorkKeystorePassword(); boolean getSslWorkTrustAllCerts(); Path getSslWorkTruststoreFile(); String getSslWorkTruststorePassword(); String getStorageAccountKey(); String getStorageAccountName(); String getStorageProtocol(); Integer getTracingAgentPort(); String getTracingAgentHost(); boolean getTracingEnable(); String getWorkBindHost(); void setContainersLocation(Path dir); void setQuestionTemplateDirs(List<Path> questionTemplateDirs); void setSslPoolDisable(boolean sslPoolDisable); void setSslPoolKeystoreFile(Path sslPoolKeystoreFile); void setSslPoolKeystorePassword(String sslPoolKeystorePassword); void setSslPoolTrustAllCerts(boolean sslPoolTrustAllCerts); void setSslPoolTruststoreFile(Path sslPoolTruststoreFile); void setSslPoolTruststorePassword(String sslPoolTruststorePassword); void setSslWorkDisable(boolean sslWorkDisable); void setSslWorkKeystoreFile(Path sslWorkKeystoreFile); void setSslWorkKeystorePassword(String sslWorkKeystorePassword); void setSslWorkTrustAllCerts(boolean sslWorkTrustAllCerts); void setSslWorkTruststoreFile(Path sslWorkTruststoreFile); void setSslWorkTruststorePassword(String sslWorkTruststorePassword); }
Settings extends BaseSettings { public List<Path> getQuestionTemplateDirs() { return _questionTemplateDirs; } Settings(String[] args); Authorizer.Type getAuthorizationType(); Path getContainersLocation(); long getDbAuthorizerCacheExpiryMs(); String getDbAuthorizerConnString(); String getDriverClass(); Path getFileAuthorizerPermsFile(); Path getFileAuthorizerRootDir(); Path getFileAuthorizerUsersFile(); String getLogFile(); String getLogLevel(); long getPeriodAssignWorkMs(); long getPeriodCheckWorkMs(); long getPeriodWorkerStatusRefreshMs(); String getPoolBindHost(); String getQueueCompletedWork(); String getQueueIncompleteWork(); WorkQueue.Type getQueueType(); String getServiceName(); int getServicePoolPort(); int getServiceWorkPort(); int getServiceWorkV2Port(); boolean getSslPoolDisable(); Path getSslPoolKeystoreFile(); String getSslPoolKeystorePassword(); boolean getSslPoolTrustAllCerts(); Path getSslPoolTruststoreFile(); String getSslPoolTruststorePassword(); List<Path> getQuestionTemplateDirs(); boolean getSslWorkDisable(); Path getSslWorkKeystoreFile(); String getSslWorkKeystorePassword(); boolean getSslWorkTrustAllCerts(); Path getSslWorkTruststoreFile(); String getSslWorkTruststorePassword(); String getStorageAccountKey(); String getStorageAccountName(); String getStorageProtocol(); Integer getTracingAgentPort(); String getTracingAgentHost(); boolean getTracingEnable(); String getWorkBindHost(); void setContainersLocation(Path dir); void setQuestionTemplateDirs(List<Path> questionTemplateDirs); void setSslPoolDisable(boolean sslPoolDisable); void setSslPoolKeystoreFile(Path sslPoolKeystoreFile); void setSslPoolKeystorePassword(String sslPoolKeystorePassword); void setSslPoolTrustAllCerts(boolean sslPoolTrustAllCerts); void setSslPoolTruststoreFile(Path sslPoolTruststoreFile); void setSslPoolTruststorePassword(String sslPoolTruststorePassword); void setSslWorkDisable(boolean sslWorkDisable); void setSslWorkKeystoreFile(Path sslWorkKeystoreFile); void setSslWorkKeystorePassword(String sslWorkKeystorePassword); void setSslWorkTrustAllCerts(boolean sslWorkTrustAllCerts); void setSslWorkTruststoreFile(Path sslWorkTruststoreFile); void setSslWorkTruststorePassword(String sslWorkTruststorePassword); static final String ARG_SERVICE_NAME; static final String ARG_SERVICE_POOL_PORT; static final String ARG_SERVICE_WORK_PORT; static final String ARG_SERVICE_WORK_V2_PORT; static final String ARG_TRACING_ENABLE; }