java.lang.Object
com.gentics.contentnode.rest.model.devtools.SyncInfo
All Implemented Interfaces:
Serializable

public class SyncInfo extends Object implements Serializable
Synchronization information for devtools sync
See Also:
  • Constructor Details

    • SyncInfo

      public SyncInfo()
      Create empty instance
    • SyncInfo

      public SyncInfo(boolean enabled, User user)
      Create instance with enabled flag and user
      Parameters:
      enabled - enabled flag
      user - user
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Flag whether the sync is currently enabled or not
      Returns:
      true if enabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Set the enabled flag
      Parameters:
      enabled - flag
    • getUser

      public User getUser()
      User who enabled the sync
      Returns:
      user
    • setUser

      public void setUser(User user)
      Set the user
      Parameters:
      user - user