com.adobe.idp.backup.dsc.service
Class BackupModeEntryResult

java.lang.Object
  extended by com.adobe.idp.backup.dsc.service.BackupModeEntryResult
All Implemented Interfaces:
java.io.Serializable

public class BackupModeEntryResult
extends java.lang.Object
implements java.io.Serializable

Represents the result of starting a backup mode session on the server. Creates an instance of this class to store the result from invoking the enterBackupMode method from the BackupServiceClient object

See Also:
Serialized Form

Constructor Summary
BackupModeEntryResult()
           
 
Method Summary
 java.lang.String getId()
          Returns the unique identifier that is created by the service for the backup mode session when the server enters backup mode.
 java.lang.String getLabel()
          Returns the label that was used to start a backup session.
 java.lang.String getPreviousReservationId()
          Returns the previous backup mode session's unique identifier that is created by the service for the backup mode session when the server enters backup mode..
 long getReservationTimeout()
          Returns the number of minutes that the server will be in backup mode.
 long getStartTime()
          Returns the starting time of the backup mode session as the number of seconds since January 1, 1970 (Epoch time).
 void setId(java.lang.String id)
          For internal use only.
 void setLabel(java.lang.String label)
          For internal use only.
 void setPreviousReservationId(java.lang.String previousReservationId)
          For internal use only.
 void setReservationTimeout(long reservationTimeout)
          For internal use only.
 void setStartTime(long startTime)
          For internal use only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupModeEntryResult

public BackupModeEntryResult()
Method Detail

getId

public java.lang.String getId()
Returns the unique identifier that is created by the service for the backup mode session when the server enters backup mode.

Returns:
A string value representing a backup mode session. An empty string value is returned when the server could not enter backup mode.

setId

public void setId(java.lang.String id)
For internal use only.


getLabel

public java.lang.String getLabel()
Returns the label that was used to start a backup session.

Returns:
A string value that represents the label that was used to enter backup mode.

setLabel

public void setLabel(java.lang.String label)
For internal use only.


getPreviousReservationId

public java.lang.String getPreviousReservationId()
Returns the previous backup mode session's unique identifier that is created by the service for the backup mode session when the server enters backup mode..

Returns:
A string value that represents the label that was used to enter backup mode.

setPreviousReservationId

public void setPreviousReservationId(java.lang.String previousReservationId)
For internal use only.


getReservationTimeout

public long getReservationTimeout()
Returns the number of minutes that the server will be in backup mode.

Returns:
A long value the number of minutes for the backup mode session on the server.

setReservationTimeout

public void setReservationTimeout(long reservationTimeout)
For internal use only.


getStartTime

public long getStartTime()
Returns the starting time of the backup mode session as the number of seconds since January 1, 1970 (Epoch time).

Returns:
A long value that represents number of seconds since January 1, 1970.

setStartTime

public void setStartTime(long startTime)
For internal use only.