public class ApiReplicationSchedule extends ApiSchedule
| Constructor and Description |
|---|
ApiReplicationSchedule() |
ApiReplicationSchedule(Long id,
Date startTime,
Date endTime,
long interval,
ApiScheduleInterval intervalUnit,
boolean paused) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ApiHdfsReplicationArguments |
getHdfsArguments()
Arguments for HDFS replication commands.
|
List<ApiReplicationCommand> |
getHistory()
List of active and/or finished commands for this schedule.
|
ApiHiveReplicationArguments |
getHiveArguments()
Arguments for Hive replication commands.
|
int |
hashCode() |
Boolean |
isActive()
Read-only field that is true if this schedule is currently active, false if not.
|
void |
setActive(Boolean active) |
void |
setHdfsArguments(ApiHdfsReplicationArguments hdfsArguments) |
void |
setHistory(List<ApiReplicationCommand> history) |
void |
setHiveArguments(ApiHiveReplicationArguments hiveArguments) |
String |
toString() |
getAlertOnAbort, getAlertOnFail, getAlertOnStart, getAlertOnSuccess, getEndTime, getId, getInterval, getIntervalUnit, getNextRun, getStartTime, isPaused, setAlertOnAbort, setAlertOnFail, setAlertOnStart, setAlertOnSuccess, setEndTime, setId, setInterval, setIntervalUnit, setNextRun, setPaused, setStartTime, toStringHelperpublic ApiReplicationSchedule()
public ApiReplicationSchedule(Long id, Date startTime, Date endTime, long interval, ApiScheduleInterval intervalUnit, boolean paused)
public ApiHdfsReplicationArguments getHdfsArguments()
public void setHdfsArguments(ApiHdfsReplicationArguments hdfsArguments)
public ApiHiveReplicationArguments getHiveArguments()
public void setHiveArguments(ApiHiveReplicationArguments hiveArguments)
public List<ApiReplicationCommand> getHistory()
public void setHistory(List<ApiReplicationCommand> history)
public Boolean isActive()
public void setActive(Boolean active)
public boolean equals(Object o)
equals in class ApiSchedulepublic int hashCode()
hashCode in class ApiSchedulepublic String toString()
toString in class ApiScheduleCopyright © Cloudera, Inc. Released under Apache License, Version 2.0.