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 TypeMethodDescriptionboolean
Returns the description of the state.getState()
Returns the name of the state.int
hashCode()
void
setDescription
(String description) Sets the description of the state.void
Sets the name of the state.toString()
-
Constructor Details
-
SyncState
Constructs a newSyncState
using 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
-