public final class HmfhImportSpec extends HmfhSpec
Constructor and Description |
---|
HmfhImportSpec() |
Modifier and Type | Method and Description |
---|---|
CSVDelimiter |
getADSDelimiter()
Returns the delimiter is used in the ADS file.
|
ApplicationStructure |
getApplicationStructure()
Returns the current application structure.
|
BehaviorOfImportEmptyValue |
getBehaviorOfImportEmptyValue()
Returns the behavior of import empty value.
|
FileExtension |
getFileExtension()
Returns the list of file extensions available for import.
|
String |
getFileName()
Returns the name of the current file.
|
String |
getFilePath()
Returns the path of the current file.
|
ImportType |
getImportType()
Returns the type of the current import.
|
boolean |
isDeleteOldLog() |
boolean |
isUpdateOrdering() |
void |
setADSDelimiter(CSVDelimiter delimiter)
Specifies the delimiter used in the ADS file.
|
void |
setApplicationStructure(ApplicationStructure applicationStructure)
Sets the current application structure.
|
void |
setBehaviorOfImportEmptyValue(BehaviorOfImportEmptyValue behaviorOfImportEmptyValue)
Sets the behavior of import empty value.
|
void |
setDeleteOldLog(boolean deleteOldLog)
Defines whether or not old logs will be deleted; this property is only used when using Hmfh logging.
|
void |
setFileName(String fileName)
Sets the name of the current file.
|
void |
setFilePath(String filePath)
Sets the path of the current file.
|
void |
setImportType(ImportType importType)
Sets the type of the current import.
|
void |
setImportType(String importType)
Specifies the type of the current import from its
String value. |
void |
setUpdateOrdering(boolean isUpdateOrdering)
Defines whether or not to update the order of dimensions, attributes, etc, when importing.
|
getApplication, getCurrentDataset, getCurrentLocale, getDatasetMapping, getDimensions, isUsingLog, setApplication, setCurrentDataset, setCurrentLocale, setDatasetMapping, setDimensions, setUsingLog, toString
public BehaviorOfImportEmptyValue getBehaviorOfImportEmptyValue()
public void setBehaviorOfImportEmptyValue(BehaviorOfImportEmptyValue behaviorOfImportEmptyValue)
behaviorOfImportEmptyValue
- behavior of import empty value to be set.public ApplicationStructure getApplicationStructure()
public FileExtension getFileExtension() throws HmfhException
HmfhException
public CSVDelimiter getADSDelimiter()
public void setADSDelimiter(CSVDelimiter delimiter)
delimiter
- the delimiter to usepublic String getFileName()
public String getFilePath()
public ImportType getImportType()
public boolean isDeleteOldLog()
public boolean isUpdateOrdering()
public void setApplicationStructure(ApplicationStructure applicationStructure)
public void setDeleteOldLog(boolean deleteOldLog)
public void setFileName(String fileName)
public void setFilePath(String filePath)
public void setImportType(ImportType importType)
public void setImportType(String importType)
String
value.public void setUpdateOrdering(boolean isUpdateOrdering)