org.jclouds.cloudservers.domain
Class BackupSchedule

java.lang.Object
  extended by org.jclouds.cloudservers.domain.BackupSchedule

public class BackupSchedule
extends Object

A backup schedule can be defined to create server images at regular intervals (daily and weekly). Backup schedules are configurable per server.

Author:
Adrian Cole

Field Summary
protected  DailyBackup daily
           
protected  boolean enabled
           
protected  WeeklyBackup weekly
           
 
Constructor Summary
BackupSchedule()
           
BackupSchedule(WeeklyBackup weekly, DailyBackup daily, boolean enabled)
           
 
Method Summary
 boolean equals(Object obj)
           
 DailyBackup getDaily()
           
 WeeklyBackup getWeekly()
           
 int hashCode()
           
 boolean isEnabled()
           
 void setDaily(DailyBackup value)
           
 void setEnabled(boolean value)
           
 void setWeekly(WeeklyBackup value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

daily

protected DailyBackup daily

enabled

protected boolean enabled

weekly

protected WeeklyBackup weekly
Constructor Detail

BackupSchedule

public BackupSchedule()

BackupSchedule

public BackupSchedule(WeeklyBackup weekly,
                      DailyBackup daily,
                      boolean enabled)
Method Detail

getDaily

public DailyBackup getDaily()

setDaily

public void setDaily(DailyBackup value)

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean value)

getWeekly

public WeeklyBackup getWeekly()

setWeekly

public void setWeekly(WeeklyBackup value)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.