public interface HubProject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HUB_CONFIG_DIR |
static java.lang.String |
USER_CONFIG_DIR |
Modifier and Type | Method and Description |
---|---|
static HubProject |
create(java.lang.String projectDirStr)
Creates a HubProject object and returns it in the base project directory
|
java.nio.file.Path |
getEntityConfigDir()
Gets the path for the user server's directory
|
java.nio.file.Path |
getEntityDatabaseDir()
Gets the path for the entity database directory
|
java.nio.file.Path |
getHubConfigDir()
Gets the path for the hub's entities directory
|
java.nio.file.Path |
getHubDatabaseDir()
Gets the path for the hub's config directory
|
java.nio.file.Path |
getHubEntitiesDir()
Gets the path for the hub plugins directory
|
java.nio.file.Path |
getHubPluginsDir()
Gets the path for the entity database directory
|
java.nio.file.Path |
getHubSecurityDir()
Gets the path for the hub servers directory
|
java.nio.file.Path |
getHubServersDir()
Gets the path for the hub's database directory
|
java.nio.file.Path |
getUserConfigDir()
Gets the path for the entity database directory
|
java.nio.file.Path |
getUserDatabaseDir()
Gets the path for the user security directory
|
java.nio.file.Path |
getUserSchemasDir()
Gets the path for the user schemas directory
|
java.nio.file.Path |
getUserSecurityDir()
Gets the path for the user config directory
|
java.nio.file.Path |
getUserServersDir()
Gets the path for the entity database directory
|
void |
init(java.util.Map<java.lang.String,java.lang.String> customTokens)
Initializes a directory as a hub project directory.
|
boolean |
isInitialized()
Checks if the project has been initialized or not
|
static final java.lang.String HUB_CONFIG_DIR
static final java.lang.String USER_CONFIG_DIR
static HubProject create(java.lang.String projectDirStr)
projectDirStr
- - the base project directoryjava.nio.file.Path getHubPluginsDir()
java.nio.file.Path getHubEntitiesDir()
java.nio.file.Path getHubConfigDir()
java.nio.file.Path getHubDatabaseDir()
java.nio.file.Path getHubServersDir()
java.nio.file.Path getHubSecurityDir()
java.nio.file.Path getUserConfigDir()
java.nio.file.Path getUserSecurityDir()
java.nio.file.Path getUserDatabaseDir()
java.nio.file.Path getUserSchemasDir()
java.nio.file.Path getUserServersDir()
java.nio.file.Path getEntityConfigDir()
java.nio.file.Path getEntityDatabaseDir()
boolean isInitialized()
void init(java.util.Map<java.lang.String,java.lang.String> customTokens)
customTokens
- - some custom tokens to start with