Class MigrationJobEntry
java.lang.Object
com.gentics.contentnode.rest.model.response.migration.MigrationJobEntry
- All Implemented Interfaces:
Serializable
A migration job entry contains information about an executed migration job. Infomation like the job status and the count of objects that have been handled are stored
in MigrationJobEntry objects.
- Author:
- johannes2
- See Also:
-
Constructor Summary
ConstructorDescriptionMigrationJobEntry
(int jobId, int jobType, int status, String timestamp, String config, String logName, long handledObjects) Creates a new job log entry object -
Method Summary
Modifier and TypeMethodDescriptionReturns the configuration in form of a serialized json string for the migration joblong
Returns how many objects have been handled by the migration jobint
getJobId()
int
Returns the job type.Returns the log filename for the migration jobint
Returns the status of the executed migration jobReturns the timestamp for this job entryvoid
Sets the migration json string that represents the migration configurationvoid
setHandledObjects
(long handledObjects) Sets the number of objects that have been handled by the migration jobvoid
setJobId
(int jobId) void
setJobType
(int jobType) Sets the job type id.void
setLogName
(String logName) Sets the name of the migration logvoid
setStatus
(int status) Sets the status of the migration jobvoid
setTimestamp
(String timestamp) Sets the timestamp for this job entry
-
Constructor Details
-
Method Details
-
getHandledObjects
public long getHandledObjects()Returns how many objects have been handled by the migration job- Returns:
-
setHandledObjects
public void setHandledObjects(long handledObjects) Sets the number of objects that have been handled by the migration job- Parameters:
handledObjects
-
-
getLogName
Returns the log filename for the migration job- Returns:
-
setLogName
Sets the name of the migration log- Parameters:
logName
-
-
getJobId
public int getJobId() -
setJobId
public void setJobId(int jobId) -
getStatus
public int getStatus()Returns the status of the executed migration job- Returns:
-
setStatus
public void setStatus(int status) Sets the status of the migration job- Parameters:
status
-
-
getTimestamp
Returns the timestamp for this job entry- Returns:
-
setTimestamp
Sets the timestamp for this job entry- Parameters:
timestamp
-
-
getJobType
public int getJobType()Returns the job type. The job type is used to distinguished between a tag type migration and a template type migration- Returns:
-
setJobType
public void setJobType(int jobType) Sets the job type id.- Parameters:
jobType
-
-
getConfig
Returns the configuration in form of a serialized json string for the migration job- Returns:
-
setConfig
Sets the migration json string that represents the migration configuration- Parameters:
config
-
-