Class ImportJob
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.ImportJob
Represents a task used to import resources from a file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompletionDate(Date completionDate) contentType(String contentType) creationDate(Date creationDate) boolean@Valid DateDate at which the job was completedIndicates the format of the imported data@Valid DateDate at which the job was createdReason for failure if status is failedgetHref()Reference of the import jobgetId()Identifier of the import jobgetPath()URL of the root resource where the content of the file specified by the import job must be appliedStatus of the import job (not started, running, succeeded, failed)getUrl()URL of the file containing the data to be importedinthashCode()voidsetCompletionDate(Date completionDate) voidsetContentType(String contentType) voidsetCreationDate(Date creationDate) voidsetErrorLog(String errorLog) voidvoidvoidvoidvoidtoString()
-
Constructor Details
-
ImportJob
public ImportJob()
-
-
Method Details
-
id
-
getId
Identifier of the import job- Returns:
- id
-
setId
-
href
-
getHref
Reference of the import job- Returns:
- href
-
setHref
-
contentType
-
getContentType
Indicates the format of the imported data- Returns:
- contentType
-
setContentType
-
path
-
getPath
URL of the root resource where the content of the file specified by the import job must be applied- Returns:
- path
-
setPath
-
status
-
getStatus
Status of the import job (not started, running, succeeded, failed)- Returns:
- status
-
setStatus
-
url
-
getUrl
URL of the file containing the data to be imported- Returns:
- url
-
setUrl
-
completionDate
-
getCompletionDate
Date at which the job was completed- Returns:
- completionDate
-
setCompletionDate
-
creationDate
-
getCreationDate
Date at which the job was created- Returns:
- creationDate
-
setCreationDate
-
errorLog
-
getErrorLog
Reason for failure if status is failed- Returns:
- errorLog
-
setErrorLog
-
equals
-
hashCode
public int hashCode() -
toString
-