Package com.uc4.api.objects
Class SyncState
java.lang.Object
com.uc4.api.objects.SyncState
This class represents the state of a Sync object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the description of the state.getState()Returns the name of the state.inthashCode()voidsetDescription(String description) Sets the description of the state.voidSets the name of the state.toString()
-
Constructor Details
-
SyncState
Constructs a newSyncStateusing the specified state name and description.- Parameters:
state- Name of the statedescription- Description of the state
-
-
Method Details
-
getDescription
Returns the description of the state.- Returns:
- Description
-
setDescription
Sets the description of the state. Max. 80 characters are allowed.- Parameters:
description- Description
-
getState
Returns the name of the state.- Returns:
- Name of the state
-
setState
Sets the name of the state. Max. 30 characters are allowed.- Parameters:
state- Name of the state
-
hashCode
public int hashCode() -
equals
-
toString
-