java.lang.Object
com.gentics.contentnode.rest.model.response.migration.MigrationJobEntry
All Implemented Interfaces:
Serializable

public class MigrationJobEntry extends Object implements 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 Details

    • MigrationJobEntry

      public MigrationJobEntry()
    • MigrationJobEntry

      public MigrationJobEntry(int jobId, int jobType, int status, String timestamp, String config, String logName, long handledObjects)
      Creates a new job log entry object
      Parameters:
      jobId -
      jobType -
      status -
      timestamp -
      config -
  • 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

      public String getLogName()
      Returns the log filename for the migration job
      Returns:
    • setLogName

      public void setLogName(String logName)
      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

      public String getTimestamp()
      Returns the timestamp for this job entry
      Returns:
    • setTimestamp

      public void setTimestamp(String timestamp)
      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

      public String getConfig()
      Returns the configuration in form of a serialized json string for the migration job
      Returns:
    • setConfig

      public void setConfig(String config)
      Sets the migration json string that represents the migration configuration
      Parameters:
      config -