@ApplicationScoped public class RuntimeOptions extends Object
| Constructor and Description |
|---|
RuntimeOptions() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildFilePath(String fileId) |
String |
getImportsBaseDir() |
int |
getUploadSize() |
Optional<String> |
importFileLocation() |
void |
init() |
boolean |
isAllowExternal() |
boolean |
isMultipleImport() |
Optional<String> |
modelPath(String id)
Returns the model path for the given id
|
Pair<String,String> |
newFilePath()
Generates a new valid file path
|
@PostConstruct public void init()
public Optional<String> modelPath(String id)
id - The model IDpublic boolean isMultipleImport()
public String getImportsBaseDir()
public int getUploadSize()
public boolean isAllowExternal()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.