Class MigratorProperties
java.lang.Object
io.camunda.migrator.config.property.MigratorProperties
Configuration properties for the migrator.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected C7Propertiesprotected C8Propertiesprotected MigratorProperties.DataSourcestatic final Stringstatic final intprotected List<InterceptorProperty> protected Stringprotected Integerstatic final Stringprotected booleanprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetC7()getC8()Returns the job type to use for validation purposes.Returns the job type to use for job activation in activateMigratorJobs.intbooleanbooleanReturns whether job type validation should be skipped entirely.voidsetAutoDdl(Boolean autoDdl) voidsetC7(C7Properties c7) voidsetC8(C8Properties c8) voidsetDataSource(MigratorProperties.DataSource dataSource) voidsetInterceptors(List<InterceptorProperty> interceptors) voidsetJobType(String jobType) voidsetPageSize(int pageSize) voidsetSaveSkipReason(boolean saveSkipReason) voidsetTablePrefix(String tablePrefix) voidsetTenantIds(Set<String> tenantIds) voidsetValidationJobType(String validationJobType)
-
Field Details
-
DEFAULT_PAGE_SIZE
public static final int DEFAULT_PAGE_SIZE- See Also:
-
PREFIX
- See Also:
-
DEFAULT_JOB_TYPE
- See Also:
-
pageSize
-
dataSource
-
jobType
-
validationJobType
-
tenantIds
-
saveSkipReason
protected boolean saveSkipReason -
autoDdl
-
tablePrefix
-
c7
-
c8
-
interceptors
-
-
Constructor Details
-
MigratorProperties
public MigratorProperties()
-
-
Method Details
-
getPageSize
public int getPageSize() -
setPageSize
public void setPageSize(int pageSize) -
getC7
-
setC7
-
getC8
-
setC8
-
getAutoDdl
-
setAutoDdl
-
getTablePrefix
-
setTablePrefix
-
getDataSource
-
setDataSource
-
getJobType
-
setJobType
-
getValidationJobType
-
setValidationJobType
-
getTenantIds
-
setTenantIds
-
getSaveSkipReason
public boolean getSaveSkipReason() -
setSaveSkipReason
public void setSaveSkipReason(boolean saveSkipReason) -
getEffectiveValidationJobType
Returns the job type to use for validation purposes. If validation-job-type is defined, it returns that value. Otherwise, it returns the job-type value. -
isJobTypeValidationDisabled
public boolean isJobTypeValidationDisabled()Returns whether job type validation should be skipped entirely. Returns true if validation-job-type is set to "DISABLED". -
getJobActivationType
Returns the job type to use for job activation in activateMigratorJobs. This always returns the job-type value. -
getInterceptors
-
setInterceptors
-