public interface HubProject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HUB_CONFIG_DIR |
static java.lang.String |
PATH_PREFIX |
static java.lang.String |
USER_CONFIG_DIR |
Modifier and Type | Method and Description |
---|---|
void |
createProject(java.lang.String projectDirString) |
void |
exportProject(java.io.File location)
Exports the project content to disk
|
java.nio.file.Path |
getCustomMappingFunctionsDir() |
java.nio.file.Path |
getCustomModuleDir(java.lang.String stepName,
java.lang.String stepType) |
java.nio.file.Path |
getCustomModulesDir()
Gets the path for the custom modules directory
|
java.nio.file.Path |
getEntityConfigDir()
Gets the path for the entity's config directory
|
java.nio.file.Path |
getEntityDatabaseDir()
Gets the path for the entity database directory
|
java.nio.file.Path |
getEntityDir(java.lang.String entityName) |
java.nio.file.Path |
getFlowsDir()
Gets the path for the flows directory
|
java.nio.file.Path |
getHubConfigDir()
Gets the path for the hub's config directory
|
java.nio.file.Path |
getHubDatabaseDir()
Gets the path for the hub's database directory
|
java.nio.file.Path |
getHubEntitiesDir()
Gets the path for the hub entities directory
|
java.nio.file.Path |
getHubMappingsDir()
Gets the path for the hub mappings directory
|
java.lang.String |
getHubModulesDeployTimestampFile() |
java.nio.file.Path |
getHubPluginsDir()
Gets the path for the hub plugins directory
|
java.nio.file.Path |
getHubSecurityDir()
Gets the path for the hub's security directory
|
java.nio.file.Path |
getHubServersDir()
Gets the path for the hub servers directory
|
java.nio.file.Path |
getHubStagingModulesDir()
Deprecated.
|
java.nio.file.Path |
getHubTriggersDir()
Gets the path for the hub's triggers directory
|
java.nio.file.Path |
getLegacyHubEntitiesDir()
Gets the legacy path for the hub entities directory
|
java.nio.file.Path |
getLegacyHubMappingsDir()
Gets the legacy path for the hub mappings directory
|
java.nio.file.Path |
getLegacyMappingDir(java.lang.String mappingName) |
java.nio.file.Path |
getMappingDir(java.lang.String mappingName) |
java.nio.file.Path |
getModulesDir()
Gets the path for the modules directory
|
java.nio.file.Path |
getProjectDir()
Returns the base directory for this project
|
java.lang.String |
getProjectDirString()
Gets the string used to originally make the project
|
java.nio.file.Path |
getStepDefinitionsDir()
Gets the path for the hub step-definitions directory
|
java.nio.file.Path |
getStepsDirByType(StepDefinition.StepDefinitionType type)
Gets the path for the hub step directory by step type
|
java.nio.file.Path |
getUserConfigDir()
Gets the path for the user config directory
|
java.nio.file.Path |
getUserDatabaseDir()
Gets the path for the user database directory
|
java.nio.file.Path |
getUserFinalModulesDir()
Deprecated.
|
java.lang.String |
getUserModulesDeployTimestampFile() |
java.nio.file.Path |
getUserSchemasDir()
Gets the path for the user schemas directory
|
java.nio.file.Path |
getUserSecurityDir()
Gets the path for the user security directory
|
java.nio.file.Path |
getUserServersDir()
Gets the path for the user servers directory
|
java.nio.file.Path |
getUserStagingModulesDir()
Deprecated.
|
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
|
void |
setUserModulesDeployTimestampFile(java.lang.String userModulesDeployTimestampFile) |
void |
upgradeProject()
Performs an upgrade to a pre-4.0 project by copying folders
to their new positions as defined in hubproject.
|
static final java.lang.String PATH_PREFIX
static final java.lang.String HUB_CONFIG_DIR
static final java.lang.String USER_CONFIG_DIR
java.lang.String getProjectDirString()
java.nio.file.Path getHubPluginsDir()
java.nio.file.Path getStepDefinitionsDir()
java.nio.file.Path getHubEntitiesDir()
java.nio.file.Path getLegacyHubEntitiesDir()
java.nio.file.Path getHubMappingsDir()
java.nio.file.Path getLegacyHubMappingsDir()
java.nio.file.Path getStepsDirByType(StepDefinition.StepDefinitionType type)
type
- - a Step typejava.nio.file.Path getHubConfigDir()
java.nio.file.Path getHubDatabaseDir()
java.nio.file.Path getHubServersDir()
java.nio.file.Path getHubSecurityDir()
java.nio.file.Path getHubTriggersDir()
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()
java.nio.file.Path getFlowsDir()
@Deprecated java.nio.file.Path getHubStagingModulesDir()
@Deprecated java.nio.file.Path getUserStagingModulesDir()
java.nio.file.Path getModulesDir()
@Deprecated java.nio.file.Path getUserFinalModulesDir()
java.nio.file.Path getCustomModulesDir()
java.nio.file.Path getCustomMappingFunctionsDir()
boolean isInitialized()
void init(java.util.Map<java.lang.String,java.lang.String> customTokens)
customTokens
- - some custom tokens to start withvoid upgradeProject() throws java.io.IOException
java.io.IOException
- if problem happens with the on-disk project.void exportProject(java.io.File location)
java.lang.String getHubModulesDeployTimestampFile()
java.lang.String getUserModulesDeployTimestampFile()
void setUserModulesDeployTimestampFile(java.lang.String userModulesDeployTimestampFile)
java.nio.file.Path getEntityDir(java.lang.String entityName)
java.nio.file.Path getMappingDir(java.lang.String mappingName)
java.nio.file.Path getLegacyMappingDir(java.lang.String mappingName)
java.nio.file.Path getCustomModuleDir(java.lang.String stepName, java.lang.String stepType)
java.nio.file.Path getProjectDir()
void createProject(java.lang.String projectDirString)