Class SyncInfo
- 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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
getUser()
User who enabled the syncboolean
isEnabled()
Flag whether the sync is currently enabled or notvoid
setEnabled(boolean enabled)
Set the enabled flagvoid
setUser(User user)
Set the user
-
-
-
Constructor Detail
-
SyncInfo
public SyncInfo()
Create empty instance
-
SyncInfo
public SyncInfo(boolean enabled, User user)
Create instance with enabled flag and user- Parameters:
enabled
- enabled flaguser
- user
-
-
Method Detail
-
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
-
-