Class MigrationJobLogEntryItem

java.lang.Object
com.gentics.contentnode.rest.model.response.migration.MigrationJobLogEntryItem

public class MigrationJobLogEntryItem extends Object
Class that represents a migration job item within the database log
Author:
johannes2
  • Constructor Details

    • MigrationJobLogEntryItem

      public MigrationJobLogEntryItem()
    • MigrationJobLogEntryItem

      public MigrationJobLogEntryItem(int jobId, int objectId, int objectType, int status)
      Create a new job log entry item
      Parameters:
      jobId -
      objectId -
      objectType -
      status -
  • Method Details

    • getJobId

      public int getJobId()
      Returns the job id
      Returns:
    • setJobId

      public void setJobId(int jobId)
      Sets the job id
      Parameters:
      jobId -
    • getObjectId

      public int getObjectId()
      Returns the object id for this item
      Returns:
    • setObjectId

      public void setObjectId(int objectId)
      Sets the object id for this item
      Parameters:
      objectId -
    • getObjectType

      public int getObjectType()
      Returns the object type for this item. Generic Content.Node type values are being used. (e.g. 10007 for pages..)
      Returns:
    • setObjectType

      public void setObjectType(int objectType)
      Sets the object type for this object item
      Parameters:
      objectType -
    • getStatus

      public int getStatus()
      Returns the migration status of this object item. This reflects how the object was handled within the migration job.
      Returns:
    • setStatus

      public void setStatus(int status)
      Sets the migration status of this object item.
      Parameters:
      status -
    • toString

      public String toString()
      Overrides:
      toString in class Object